aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorThirupathi Chippakurthy <thirupathi.chippakurthy@stericsson.com>2011-09-26 19:17:30 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2011-12-06 10:58:04 +0100
commit8a0572ff3fa953e321b330c6c4c59ced8bf06346 (patch)
tree2b5b1921f9e655dc8bf847170b2d8f4dba8365e2 /drivers/usb
parentaa8540e1d1db94d54595c70ded73c67bcbf0a396 (diff)
musb:host: Fix for musb host receive in PIO mode
restore MUSB_RXCSR code is misplaced,Handling properly. ST-Ericsson ID: AP 363893 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: <thirupathi.chippakurthy@stericsson.com> Change-Id: I3f0499487a1d5e4837ade52e6fb8f0f573cce217 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31989 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/musb_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 2582389881d..54aed9b2386 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -1761,8 +1761,8 @@ void musb_host_rx(struct musb *musb, u8 epnum)
c->channel_release(dma);
hw_ep->rx_channel = NULL;
dma = NULL;
+ musb_writew(epio, MUSB_RXCSR, restore_csr);
}
- musb_writew(epio, MUSB_RXCSR, restore_csr);
}
#endif /* Mentor DMA */