Changeset 10219


Ignore:
Timestamp:
2008-01-17T21:35:38+01:00 (10 years ago)
Author:
juhosg
Message:

[adm5120] USB driver: fix a bug in isochronous transfers

Location:
trunk/target/linux/adm5120/files/drivers/usb/host
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c

    r10077 r10219  
    4646#include "../core/hub.h" 
    4747 
    48 #define DRIVER_VERSION  "0.16.0" 
     48#define DRIVER_VERSION  "0.16.1" 
    4949#define DRIVER_AUTHOR   "Gabor Juhos <juhosg at openwrt.org>" 
    5050#define DRIVER_DESC     "ADMtek USB 1.1 Host Controller Driver" 
  • trunk/target/linux/adm5120/files/drivers/usb/host/adm5120-q.c

    r10077 r10219  
    547547         */ 
    548548        case PIPE_ISOCHRONOUS: 
    549                 info = TD_SCC_NOTACCESSED; 
     549                info = is_out 
     550                        ? TD_T_CARRY | TD_SCC_NOTACCESSED | TD_DP_OUT 
     551                        : TD_T_CARRY | TD_SCC_NOTACCESSED | TD_DP_IN; 
     552 
    550553                for (cnt = 0; cnt < urb->number_of_packets; cnt++) { 
    551554                        int frame = urb->start_frame; 
Note: See TracChangeset for help on using the changeset viewer.