]> git.baikalelectronics.ru Git - kernel.git/commit
omapfb: dispc: disable iface clocks along with func clocks
authorJouni Hogander <jouni.hogander@nokia.com>
Tue, 22 Sep 2009 23:46:55 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:49 +0000 (07:39 -0700)
commit26da8c8f44f6b937c45d2f89cc6494bd6ffa2f40
tree7408e23135eaf4ab9154953dc933e6af6e93daa6
parent3869fabd08680faadc03878f4b0abf2d47a39805
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>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/omap/dispc.c