All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: musb: restore INDEX register in resume path
@ 2011-07-08  9:36 Ajay Kumar Gupta
       [not found] ` <1310117773-31571-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
  2011-07-08 10:51 ` Felipe Balbi
  0 siblings, 2 replies; 3+ messages in thread
From: Ajay Kumar Gupta @ 2011-07-08  9:36 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-omap, balbi, Ajay Kumar Gupta, stable

Restoring the missing INDEX register value in musb_restore_context().
Without this suspend resume functionality is broken with offmode
enabled.

Cc: stable@kernel.org
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@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)
-- 
1.6.2.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] usb: musb: restore INDEX register in resume path
       [not found] ` <1310117773-31571-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
@ 2011-07-08  9:40   ` Gadiyar, Anand
  0 siblings, 0 replies; 3+ messages in thread
From: Gadiyar, Anand @ 2011-07-08  9:40 UTC (permalink / raw)
  To: Gupta, Ajay Kumar, linux-usb-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, Balbi, Felipe,
	stable-DgEjT+Ai2ygdnm+yROfE0A

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-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>

FWIW,

Acked-by: Anand Gadiyar <gadiyar-l0cyMroinI0@public.gmane.org>

> ---
>  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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: musb: restore INDEX register in resume path
  2011-07-08  9:36 [PATCH] usb: musb: restore INDEX register in resume path Ajay Kumar Gupta
       [not found] ` <1310117773-31571-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
@ 2011-07-08 10:51 ` Felipe Balbi
  1 sibling, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2011-07-08 10:51 UTC (permalink / raw)
  To: Ajay Kumar Gupta; +Cc: linux-usb, linux-omap, balbi, stable

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

On Fri, Jul 08, 2011 at 03:06:13PM +0530, Ajay Kumar Gupta wrote:
> Restoring the missing INDEX register value in musb_restore_context().
> Without this suspend resume functionality is broken with offmode
> enabled.
> 
> Cc: stable@kernel.org
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>

applied, thanks

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-08 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08  9:36 [PATCH] usb: musb: restore INDEX register in resume path Ajay Kumar Gupta
     [not found] ` <1310117773-31571-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-07-08  9:40   ` Gadiyar, Anand
2011-07-08 10:51 ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.