]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: HDMI: wait for framedone when stopping video
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 13:46:34 +0000 (15:46 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Jun 2015 12:53:40 +0000 (15:53 +0300)
commita9fad6886f5229fc9989ac6cdd7ddecbf570a58f
treeba02721c18ecc96e77c6372047086fedec0d9ff4
parent9bba13f0d74cea808f417370961bb3421a09bcb6
OMAPDSS: HDMI: wait for framedone when stopping video

At the moment when HDMI video output is stopped, we just clear the
enable bit and return. While it's unclear if this can cause any issues,
I think it's still better to wait for FRAMEDONE interrupt after clearing
the enable bit so that we're sure the HDMI IP has finished.

As we don't have any ready-made irq handling for HDMI, and this only
needs to be done when disabling the HDMI output, this patch implements a
simple loop with sleep, polling the FRAMEDONE bit.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/hdmi_wp.c