RE: [PATCH] usb: musb: restore INDEX register in resume path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: stable@xxxxxxxxxx
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>

FWIW,

Acked-by: Anand Gadiyar <gadiyar@xxxxxx>

> ---
>  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-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux