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)
commit88359b99d0841d0def5dffff911875dfc78a94fa
tree6c84a0be0af905407cf23f65185f47a9c176aaea
parent65c8b46400752d54291e976d60ab13bfe5bb06b8
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