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: [email protected]
> Signed-off-by: Ajay Kumar Gupta <[email protected]>

FWIW,

Acked-by: Anand Gadiyar <[email protected]>

> ---
>  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)

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to