* Felipe Balbi <[EMAIL PROTECTED]> [080626 16:34]:
> hi all,
>
> Resending the patch as it didn't get applied.
>
> Searching on the archives would be painful :-p
Thanks, one question below..
>
> --
> - Balbi
> From d8f7f708e32ad7daadf9e48e7ba0ebecdf91094c Mon Sep 17 00:00:00 2001
> From: Felipe Balbi <[EMAIL PROTECTED]>
> Date: Thu, 26 Jun 2008 16:31:44 +0300
> Subject: [PATCH] ARCH: OMAP: MUSB: Do not block sleep
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: 8bit
>
> Do not block sleep while musb clock is enabled
> as it completely blocks dynamic sleep.
>
> Thanks to Jouni Högander.
>
> Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
> Signed-off-by: Jouni Högander <[EMAIL PROTECTED]>
> ---
> arch/arm/mach-omap2/usb-musb.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
> index cbd59f8..d495549 100644
> --- a/arch/arm/mach-omap2/usb-musb.c
> +++ b/arch/arm/mach-omap2/usb-musb.c
> @@ -58,14 +58,12 @@ 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 {
> if (clk_on == 0)
> return -ENODEV;
>
> - clk_disable(clk);
> clk_on = 0;
> omap2_allow_sleep();
> }
> --
Did you mean to remove omap2_allow_sleep() instead of clk_disable()?
Tony
--
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