]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
imx-drm: imx-hdmi: add hotplug support to HDMI component
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Nov 2013 22:23:24 +0000 (22:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Feb 2014 12:08:02 +0000 (12:08 +0000)
commitd94905e019acce960feeda1f92a9427fbe45ebbe
tree03d21849e01498732e543fbf0a793dd013aeb0fd
parent3e68439bf0adc7b11e479d27919b93453d7f9307
imx-drm: imx-hdmi: add hotplug support to HDMI component

Add hotplug support.  We have to make the interrupt handler threaded so
we can call drm_helper_hpd_irq_event().  Keeping in mind that we will
want to share the interrupt with other HDMI interface drivers (eg, audio
and CEC) put the groundwork in now for that, rather than just using
IRQF_ONESHOT.

Also, we must not call drm_helper_hpd_irq_event() until we have fully
setup the connector; keep the interrupt(s) muted until after that point.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/imx-drm/imx-hdmi.c