drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Nov 2013 16:06:01 +0000 (16:06 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 9 Oct 2015 16:17:24 +0000 (17:17 +0100)
commitf5ce405722e410a69da4604285ae5e9210011ffe
tree42a2bd82f0536a722fcc56362424013089983eee
parent7ed6c665e19d4c0456d01c01147e82563c482c4d
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>
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/dw_hdmi-ahb-audio.c
drivers/gpu/drm/bridge/dw_hdmi-audio.h
drivers/gpu/drm/bridge/dw_hdmi.c