]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: dw-hdmi-i2s: add .get_eld support
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Aug 2019 12:50:16 +0000 (14:50 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 14 Aug 2019 13:03:36 +0000 (15:03 +0200)
commita743c5aa0238d42ab494d41d1bebaa4da67f9576
tree365894949198c50d33c38600f50cd8e0df87bd3d
parentc3a492582c4e6bd4a303f0161810642abd04861a
drm/bridge: dw-hdmi-i2s: add .get_eld support

Provide the eld to the generic hdmi-codec driver.
This will let the driver enforce the maximum channel number and set the
channel allocation depending on the hdmi sink.

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