]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: musb: restore INDEX register in resume path
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Fri, 8 Jul 2011 09:36:13 +0000 (15:06 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:35:53 +0000 (10:35 -0700)
commit5aa8a93b5d44724f1f63357b300eca208fb069d0
tree8c4414b46d5c40c150f69d5276d507fb3e7c90b9
parent150d54a585c61aab7b8fb067d1d9833b4179301a
usb: musb: restore INDEX register in resume path

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