This patch is needed until we have uart driver which disables uart
clocks when they are not needed.

Signed-off-by: Jouni Hogander <[EMAIL PROTECTED]>
---
 arch/arm/mach-omap2/pm34xx.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 1826dcd..e578503 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -29,6 +29,7 @@
 #include <asm/arch/pm.h>
 #include <asm/arch/clockdomain.h>
 #include <asm/arch/powerdomain.h>
+#include <asm/arch/common.h>
 
 #include "cm.h"
 #include "cm-regbits-34xx.h"
@@ -197,8 +198,12 @@ static void omap_sram_idle(void)
         * handles fcks correctly */
        per_gpio_clk_disable();
 
+       omap_serial_enable_clocks(0);
+
        _omap_sram_idle(NULL, save_state);
 
+       omap_serial_enable_clocks(1);
+
        /* XXX This is for gpio fclk hack. Will be removed as gpio driver
         * handles fcks correctly */
        per_gpio_clk_enable();
-- 
1.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to