]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: hdmi-codec: allow to refine formats actually supported
authorOlivier Moysan <olivier.moysan@foss.st.com>
Wed, 8 Jan 2025 17:03:55 +0000 (18:03 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 26 Jan 2025 12:01:12 +0000 (14:01 +0200)
commit038f79638e0676359e44c5db458d52994f9b5ac1
tree8926bf6143d1db739bf32261dd45760e36bb1dfe
parentc852646f12d4cd5b4f19eeec2976c5d98c0382f8
ASoC: hdmi-codec: allow to refine formats actually supported

Currently the hdmi-codec driver registers all the formats that are
allowed on the I2S bus. Add i2s_formats field to codec data, to allow
the hdmi codec client to refine the list of the audio I2S formats
actually supported.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250108170356.413063-3-olivier.moysan@foss.st.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
include/sound/hdmi-codec.h
sound/soc/codecs/hdmi-codec.c