summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-08-12 15:50:16 +0300
committerNeil Armstrong <narmstrong@baylibre.com>2019-08-14 16:03:36 +0300
commitfc1ca6e01d0a71fd4bd7a5a7cb8309a9dd48ddbc (patch)
tree365894949198c50d33c38600f50cd8e0df87bd3d /drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h
parent43e88f670a5e4618609822853a5f659631c32505 (diff)
downloadlinux-fc1ca6e01d0a71fd4bd7a5a7cb8309a9dd48ddbc.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h')
-rw-r--r--drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h
index 63b5756f463b..cb07dc0da5a7 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-audio.h
@@ -14,6 +14,7 @@ struct dw_hdmi_audio_data {
struct dw_hdmi_i2s_audio_data {
struct dw_hdmi *hdmi;
+ u8 *eld;
void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
u8 (*read)(struct dw_hdmi *hdmi, int offset);