]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap-hdmi-audio: Force channel allocation only for OMAP4
authorMisael Lopez Cruz <misael.lopez@ti.com>
Wed, 22 Apr 2015 13:23:00 +0000 (16:23 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Jun 2015 11:34:02 +0000 (14:34 +0300)
commite106f3fa097719e4389a57beee14a04ff3579f14
tree6c84a0be0af905407cf23f65185f47a9c176aaea
parenta785f3b06a87cc4f088b36b16e11015112830246
ASoC: omap-hdmi-audio: Force channel allocation only for OMAP4

There is a constraint in the OMAP4 HDMI IP that requires to use
the 8-channel code when transmitting more than two channels.

The constraint doesn't apply for OMAP5 so don't force the channel
allocation in the sound driver as it can be done specifically for
OMAP4 later in the hdmi4 core.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Mark Brown <broonie@kernel.org>
drivers/video/fbdev/omap2/dss/hdmi4_core.c
sound/soc/omap/omap-hdmi-audio.c