projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6691c4c
)
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:23:09 +0000
(10:23 -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 24212bed2d2a06fae03c4e386facf1507df8498d..b9afd6a26a31f2e78ef63877d6bf0f1b48b8bcfb 100644
(file)
--- a/
drivers/usb/musb/musb_core.c
+++ b/
drivers/usb/musb/musb_core.c
@@
-1634,6
+1634,7
@@
void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit)
}
}
}
+ musb_writeb(musb_base, MUSB_INDEX, musb->context.index);
}
#else