aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm24xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/pm24xx.c')
-rw-r--r--arch/arm/mach-omap2/pm24xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c
index 6aeedeacdad8..f5c7ef955942 100644
--- a/arch/arm/mach-omap2/pm24xx.c
+++ b/arch/arm/mach-omap2/pm24xx.c
@@ -245,6 +245,8 @@ static int omap2_can_sleep(void)
245{ 245{
246 if (omap2_fclks_active()) 246 if (omap2_fclks_active())
247 return 0; 247 return 0;
248 if (!omap_uart_can_sleep())
249 return 0;
248 if (osc_ck->usecount > 1) 250 if (osc_ck->usecount > 1)
249 return 0; 251 return 0;
250 if (omap_dma_running()) 252 if (omap_dma_running())