drm/bridge: dw-hdmi-i2s: enable lpcm multi channels
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Aug 2019 12:07:22 +0000 (14:07 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 14 Aug 2019 13:03:17 +0000 (15:03 +0200)
commit17a1e555b608a847c903e093718d0a768843c586
tree7601c206384ac2e469048c83209b606a39747868
parentda5f5bc92f49f5b3acf8b07d95fb7d8a8f098d25
drm/bridge: dw-hdmi-i2s: enable lpcm multi channels

Properly setup the channel count and layout in dw-hdmi i2s driver so
we are not limited to 2 channels.

Also correct the maximum channel reported by the DAI from 6 to 8 ch

Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190812120726.1528-5-jbrunet@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c