diff options
| author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-26 08:49:58 +0000 | 
|---|---|---|
| committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-26 08:49:58 +0000 | 
| commit | caf5ee317c5987cb1db5b57a941d3747d0313075 (patch) | |
| tree | 23389acddd3ef495bea600462dbbcb63f85e7852 /target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c | |
| parent | ef7eae373b0d2a756a3631ad497c5cd29cfa2598 (diff) | |
[adm5120] more USB driver fixes, now it passes usbtests 1-14 
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9599 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c')
| -rw-r--r-- | target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c | 7 | 
1 files changed, 2 insertions, 5 deletions
| diff --git a/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c b/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c index 90889bfc0..59fd67175 100644 --- a/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c +++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c @@ -45,7 +45,7 @@  #include "../core/hcd.h"  #include "../core/hub.h" -#define DRIVER_VERSION	"v0.10.1" +#define DRIVER_VERSION	"v0.14.0"  #define DRIVER_AUTHOR	"Gabor Juhos <juhosg at openwrt.org>"  #define DRIVER_DESC	"ADMtek USB 1.1 Host Controller Driver" @@ -142,10 +142,6 @@ static int admhc_urb_enqueue(struct usb_hcd *hcd, struct usb_host_endpoint *ep,  		/* number of packets from URB */  		td_cnt = urb->number_of_packets;  		break; -	default: -		/* paranoia */ -		admhc_err(ahcd, "bad EP type %d", ed->type); -		return -EINVAL;  	}  	urb_priv = urb_priv_alloc(ahcd, td_cnt, mem_flags); @@ -207,6 +203,7 @@ static int admhc_urb_enqueue(struct usb_hcd *hcd, struct usb_host_endpoint *ep,  #ifdef ADMHC_VERBOSE_DEBUG  	admhc_dump_ed(ahcd, "admhc_urb_enqueue", urb_priv->ed, 1);  #endif +  fail0:  	spin_unlock(&urb->lock);  fail: | 
