Gupta, Ajay Kumar wrote:
> Restoring the missing INDEX register value in musb_restore_context().
> Without this suspend resume functionality is broken with offmode
> enabled.
> 
> Cc: sta...@kernel.org
> Signed-off-by: Ajay Kumar Gupta <ajay.gu...@ti.com>

FWIW,

Acked-by: Anand Gadiyar <gadi...@ti.com>

> ---
>  drivers/usb/musb/musb_core.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index c71b037..dce7182 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c
> @@ -2329,6 +2329,7 @@ static void musb_restore_context(struct musb *musb)
>                               musb->context.index_regs[i].rxhubport);
>               }
>       }
> +     musb_writeb(musb_base, MUSB_INDEX, musb->context.index);
>  }
>  
>  static int musb_suspend(struct device *dev)
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to