]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1a7355ddf715a30dfc3a051bb629e2429b7d48b
tree42a2bd82f0536a722fcc56362424013089983eee
parent1bf937b0691baafc4fcbec6678ab3125ebfb376f
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