drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Aug 2019 12:07:25 +0000 (14:07 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 14 Aug 2019 13:03:33 +0000 (15:03 +0200)
commit43e88f670a5e4618609822853a5f659631c32505
treeba36c35792d76d7b67f7feed9e70121a0f23cfd3
parent46cecde310bba81243f906955f5fd6f64d5668f0
drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes

Enable the i2s lanes depending on the number of channel in the stream

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-8-jbrunet@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
drivers/gpu/drm/bridge/synopsys/dw-hdmi.h