]> 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)
commitab30a39bbaadf5fd1eefeb93c7dee51c155ef682
tree9948312b6eba8f6be073e339148985e43dd1d5e4
parent6414aee51eeb0cf59f906de9080dd8c10e5b6a91
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