omapfb: dispc: Disable iface clocks along with func clocks
commitd83034cc97924164ca9949fee84bfb480ad5c806
authorJouni Hogander <jouni.hogander@nokia.com>
Fri, 15 Aug 2008 08:56:03 +0000 (15 11:56 +0300)
committerImre Deak <imre.deak@nokia.com>
Thu, 4 Jun 2009 14:40:23 +0000 (4 17:40 +0300)
tree6b7dafe2fdf4fb8c0a9681d6dc428da90551d102
parentd5cd6aebac66e8e03a244a63bf60e21237ff32a0
omapfb: dispc: Disable iface clocks along with func clocks

Leaving interface clocks enabled causes dss pwrdm to stay in active
state when mpu is in active state. This fix puts dss to sleep state
when it is not needed.

Earlier version broke framebuffer on 24xx. This is fixed by enabling
clocks before trying to access DISPC_IRQSTATUS register.

Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
drivers/video/omap/dispc.c