drm/bridge: dw-hdmi: move audio channel setup out of ahb
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Aug 2019 12:07:20 +0000 (14:07 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 14 Aug 2019 13:03:11 +0000 (15:03 +0200)
commit2a2a3d2ff799d62f25a9d222ad0fc73753c8a6c6
tree4feb16b9628c01b098e8bbde0f213d2856fa9373
parent8067f62bccaff4d5c7e0900431e8ab4372dcb8ab
drm/bridge: dw-hdmi: move audio channel setup out of ahb

Part of the channel count setup done in dw-hdmi ahb should
actually be done whatever the interface providing the data.

Let's move it to dw-hdmi driver instead.

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