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)
committerFelipe Balbi <balbi@ti.com>
Fri, 8 Jul 2011 09:47:25 +0000 (12:47 +0300)
commit3c5fec75e121b21a2eb35e5a6b44291509abba6f
treebafb61d64fdbcfe93924791b573ebbacbf7cae69
parentac17317d209a488059003de00f7cb0e5373a7c6e
usb: musb: restore INDEX register in resume path

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

Cc: stable@kernel.org
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>
drivers/usb/musb/musb_core.c