]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP2: Remove redundant check on osc refcount
authorIgor Stoppa <igor.stoppa@nokia.com>
Fri, 4 May 2007 16:23:11 +0000 (09:23 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 4 May 2007 16:23:11 +0000 (09:23 -0700)
The usage of the external oscillator is handled already by
sleep_block and doesn't require any extra checking.
Incidentally this fixes a bug where N800 wouldn't enter retention
the first time the display would blank.

Signed-off-by: Klaus Pedersen <klaus.k.pedersen@nokia.com>
Signed-off-by: Igor Stoppa <igor.stoppa@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm.c

index 7c988adc63ccac32f5daf2a77c3f7af3c76b885f..f6c0a268f210bdb3c274d28e6af8aa75c3a48ea7 100644 (file)
@@ -616,8 +616,6 @@ static int omap2_can_sleep(void)
                return 0;
        if (atomic_read(&sleep_block) > 0)
                return 0;
-       if (clk_get_usecount(osc_ck) > 1)
-               return 0;
        if (omap_dma_running())
                return 0;