[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1211022081-27298-3-git-send-email-cooloney@kernel.org>
Date: Sat, 17 May 2008 19:01:21 +0800
From: Bryan Wu <cooloney@...nel.org>
To: me@...ipebalbi.com, david-b@...bell.net, tony@...mide.com
Cc: linux-omap@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, Bryan Wu <cooloney@...nel.org>,
Sonic Zhang <sonic.zhang@...log.com>
Subject: [PATCH 2/2] MUSB: Real fix bug 4 usb bugs found on Blackfin
- USB-IDE
http://blackfin.uclinux.org/gf/project/linux-kernel/tracker/?action=TrackerItemEdit&tracker_item_id=3789
- 30G iPod
http://blackfin.uclinux.org/gf/project/linux-kernel/tracker/?action=TrackerItemEdit&tracker_item_id=3806
- USB to CF/SD card reader
http://blackfin.uclinux.org/gf/project/linux-kernel/tracker/?action=TrackerItemEdit&tracker_item_id=3790
http://blackfin.uclinux.org/gf/project/linux-kernel/tracker/?action=TrackerItemEdit&tracker_item_id=3807
Sonic found, when we got STALL, we should clear the toggle.
Signed-off-by: Sonic Zhang <sonic.zhang@...log.com>
Signed-off-by: Bryan Wu <cooloney@...nel.org>
---
drivers/usb/musb/musb_host.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 535922d..806c479 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -1473,7 +1473,7 @@ void musb_host_rx(struct musb *musb, u8 epnum)
(void) musb->dma_controller->channel_abort(dma);
xfer_len = dma->actual_len;
}
- musb_h_flush_rxfifo(hw_ep, 0);
+ musb_h_flush_rxfifo(hw_ep, MUSB_RXCSR_CLRDATATOG);
musb_writeb(epio, MUSB_RXINTERVAL, 0);
done = true;
goto finish;
--
1.5.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists