Commit ef05b839 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

ARCH: OMAP: MUSB: Do not block sleep

arch: omap: usb: do not block sleep

musb_set_clock should not block sleep on omap3-based
boards, it prevents system from sleeping.

Thanks to Jouni Högander for pointing this out
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b29a0087
......@@ -58,7 +58,6 @@ static int musb_set_clock(struct clk *clk, int state)
if (clk_on > 0)
return -ENODEV;
omap2_block_sleep();
clk_enable(clk);
clk_on = 1;
} else {
......@@ -67,7 +66,6 @@ static int musb_set_clock(struct clk *clk, int state)
clk_disable(clk);
clk_on = 0;
omap2_allow_sleep();
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment