mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] USB driver: fix a bug in isochronous transfers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10219 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -546,7 +546,10 @@ static void td_submit_urb(struct admhcd *ahcd, struct urb *urb)
|
||||
* we could often reduce the number of TDs here.
|
||||
*/
|
||||
case PIPE_ISOCHRONOUS:
|
||||
info = TD_SCC_NOTACCESSED;
|
||||
info = is_out
|
||||
? TD_T_CARRY | TD_SCC_NOTACCESSED | TD_DP_OUT
|
||||
: TD_T_CARRY | TD_SCC_NOTACCESSED | TD_DP_IN;
|
||||
|
||||
for (cnt = 0; cnt < urb->number_of_packets; cnt++) {
|
||||
int frame = urb->start_frame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user