ASoC: hdmi-codec: Add ELD control
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 20 Apr 2016 08:59:58 +0000 (10:59 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 21 Apr 2016 16:16:47 +0000 (17:16 +0100)
commit81151cfb6bfe69f1c5a52b795eb005226a322c9e
tree2d40b3d768daec44ea3a26f9e346932ca97fe85b
parent09184118a8abae030539469848d475adcc0e5839
ASoC: hdmi-codec: Add ELD control

ALSA doesn't know about all the different compressed audio formats,
so there is no interface to let userspace enumerate the formats that
are supported by the connected sink. Exporting the raw ELD bytes to
userspace allows an application to select the appropriate audio format
depending on the current capabilities of the connected HDMI sink device.
Usually userspace then just pretends to ALSA that the data is in one of
the raw 16-bit PCM audio formats and relies on the IEC controls to tell
the sink how to interpret the data.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c