projects
/
wrapfs-2.6.33.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150d54a
)
usb: musb: restore INDEX register in resume path
author
Ajay Kumar Gupta
<ajay.gupta@ti.com>
Fri, 8 Jul 2011 09:36:13 +0000
(15:06 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 8 Aug 2011 17:35:53 +0000
(10:35 -0700)
commit
3c5fec75e121b21a2eb35e5a6b44291509abba6f
upstream.
Restoring the missing INDEX register value in musb_restore_context().
Without this suspend resume functionality is broken with offmode
enabled.
Acked-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index e176a06ed01021d86695f53c09ae57ef676524e1..2413c0fcac6d3b1037522cb9d94216dac2a07a29 100644
(file)
--- a/
drivers/usb/musb/musb_core.c
+++ b/
drivers/usb/musb/musb_core.c
@@
-1640,6
+1640,7
@@
void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit)
}
}
}
+ musb_writeb(musb_base, MUSB_INDEX, musb->context.index);
}
#else