]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdmi-codec: add channel mapping control
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Tue, 3 Jan 2017 15:52:52 +0000 (16:52 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jan 2017 15:16:29 +0000 (15:16 +0000)
commit439c1a752af30e119869d98d758e8055a9e52e45
tree9948312b6eba8f6be073e339148985e43dd1d5e4
parent9b7d6ee77889334cf0f5866adf3c1abe6b496c0c
ASoC: hdmi-codec: add channel mapping control

Add user interface to provide channel mapping.
In a first step this control is read only.

As TLV type, the control provides all configuration available for
HDMI sink(ELD), and provides current channel mapping selected by codec
based on ELD and number of channels specified by user on open.
When control is called before the number of the channel is specified
(i.e. hw_params is set), it returns all channels set to UNKNOWN.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c