OMAPDSS: HDMI: Replace spinlock with mutex in hdmi_check_hpd_state
authorJassi Brar <jaswinder.singh@linaro.org>
Wed, 27 Jun 2012 14:04:56 +0000 (19:34 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 29 Jun 2012 06:42:42 +0000 (09:42 +0300)
commit3a5383a2373fd5bc5ebdd781c8ac89ab5d0cb8a4
treef568116f7c39ee62ab42ab745946d55b48703cd6
parentece2f1539e917a4f23c30c2cca41ed5aa127abe3
OMAPDSS: HDMI: Replace spinlock with mutex in hdmi_check_hpd_state

State change of HDMI PHY could potentially take many millisecs, we can do
better by protecting things in hdmi_set_phy_pwr() with a mutex rather than
a spin_lock_irqsave.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/ti_hdmi.h
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c