diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-01-31 14:51:16 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-01-31 14:51:16 +0000 |
commit | cbad42a979b023107e6f19101654c821556023bb (patch) | |
tree | 5e1791d97bd8bb66c6aaab3cb8addd6e10752ba9 /target/linux/adm5120/patches-2.6.24/915-usb_eliminate_urb_status.patch | |
parent | fdee1a5a5a85fc23f3360a19cc09fd0e7c9b4c85 (diff) | |
download | upstream-cbad42a979b023107e6f19101654c821556023bb.tar.gz upstream-cbad42a979b023107e6f19101654c821556023bb.tar.bz2 upstream-cbad42a979b023107e6f19101654c821556023bb.zip |
add 2.6.24 specific patchset for the usb driver
SVN-Revision: 10338
Diffstat (limited to 'target/linux/adm5120/patches-2.6.24/915-usb_eliminate_urb_status.patch')
-rw-r--r-- | target/linux/adm5120/patches-2.6.24/915-usb_eliminate_urb_status.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-2.6.24/915-usb_eliminate_urb_status.patch b/target/linux/adm5120/patches-2.6.24/915-usb_eliminate_urb_status.patch new file mode 100644 index 0000000000..291b1ade55 --- /dev/null +++ b/target/linux/adm5120/patches-2.6.24/915-usb_eliminate_urb_status.patch @@ -0,0 +1,14 @@ +Index: linux-2.6.24/drivers/usb/host/adm5120-q.c +=================================================================== +--- linux-2.6.24.orig/drivers/usb/host/adm5120-q.c ++++ linux-2.6.24/drivers/usb/host/adm5120-q.c +@@ -48,8 +48,7 @@ __acquires(ahcd->lock) + /* urb->complete() can reenter this HCD */ + usb_hcd_unlink_urb_from_ep(admhcd_to_hcd(ahcd), urb); + spin_unlock(&ahcd->lock); +- urb->status = status; +- usb_hcd_giveback_urb(admhcd_to_hcd(ahcd), urb); ++ usb_hcd_giveback_urb(admhcd_to_hcd(ahcd), urb, status); + spin_lock(&ahcd->lock); + } + |