]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: HDMI: OMAP4: Remap speaker order to match ALSA order
authorRicardo Neri <ricardo.neri@ti.com>
Thu, 3 May 2012 17:27:12 +0000 (12:27 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 May 2012 12:17:09 +0000 (15:17 +0300)
commitddee0d3c588f211d43d93066b15f69ec961fbbff
tree6657224dc42aa28ad885ca5ae9c399579bda669e
parent49241d8c7ac1dd9ca36503151851479ed7ae75c6
OMAPDSS: HDMI: OMAP4: Remap speaker order to match ALSA order

As of today, the only know user of the DSS HDMI audio support is
ASoC. Hence, it makes sense to remap the speaker order to match
the ALSA speaker order. In the future, a dynamic mapping mechanism
may be implemented.

Remapping is needed as the HDMI speaker order is FL/FR/LFE/C/RL/RR/
RLC-FLC/RRC-FLC while the ALSA order is FL/FR/RL/RR/C/LFE/SL/SR.
Refer to CEA-861 Section 6.6.2 for further details.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c