]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: omap2+: fix context api's
authorVikram Pandita <vikram.pandita@ti.com>
Wed, 7 Sep 2011 16:19:23 +0000 (09:19 -0700)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:51:40 +0000 (11:51 +0200)
commit6a8c9edf49e6ea441498bfe24f2fd714fa0feccf
treea1e7c3ebca4e5bb398616822b3fc3c07d5ae82a8
parent6da79accacf0634e748a932dd0d74c033281a72f
usb: musb: omap2+: fix context api's

RxFifoSz, TxFifoSz, RxFifoAddr, TxFifoAddr
are all indexed registers.

So before doing a context save or restore, INDEX register
should be set, then only one gets to the right register offset.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c