summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThirupathi Chippakurthy <thirupathi.chippakurthy@stericsson.com>2011-09-26 19:17:30 +0530
committerRabin VINCENT <rabin.vincent@stericsson.com>2011-09-27 08:15:18 +0200
commitb50fb2e96cd87e8851f6788eecf6381f8eabde6a (patch)
tree627694a53234868ab697910b7fb18dbcbeb212c3
parent468ce3cc2527fa657d5b740aa5c39c7fcf1c8cfc (diff)
musb:host: Fix for musb host receive in PIO modeu8500-android-2.3_v4.3
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>
-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 */