diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-11-07 20:06:01 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-09 19:17:24 +0300 |
commit | f5ce405722e410a69da4604285ae5e9210011ffe (patch) | |
tree | 42a2bd82f0536a722fcc56362424013089983eee /drivers/gpu/drm/bridge/dw_hdmi-audio.h | |
parent | 7ed6c665e19d4c0456d01c01147e82563c482c4d (diff) | |
download | linux-f5ce405722e410a69da4604285ae5e9210011ffe.tar.xz |
drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver
Parse the ELD (EDID like data) stored from the HDMI driver to restrict
the sample rates and channels which are available to ALSA. This causes
the ALSA device to reflect the capabilities of the overall audio path,
not just what is supported at the HDMI source interface level.
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/bridge/dw_hdmi-audio.h')
-rw-r--r-- | drivers/gpu/drm/bridge/dw_hdmi-audio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/dw_hdmi-audio.h b/drivers/gpu/drm/bridge/dw_hdmi-audio.h index 1e840118d90a..91f631beecc7 100644 --- a/drivers/gpu/drm/bridge/dw_hdmi-audio.h +++ b/drivers/gpu/drm/bridge/dw_hdmi-audio.h @@ -8,6 +8,7 @@ struct dw_hdmi_audio_data { void __iomem *base; int irq; struct dw_hdmi *hdmi; + u8 *eld; }; #endif |