aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-08-05 19:43:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-08-05 19:43:58 +0000
commit39d1c74794c7580b93053d09ffd9dcc3a323c97f (patch)
tree7d98d1fd89f7233e7534310448b44baaf18547d3 /target/linux/generic-2.6
parent2139663efc323ff379f96bc01e8fdf9031a33306 (diff)
downloadupstream-39d1c74794c7580b93053d09ffd9dcc3a323c97f.tar.gz
upstream-39d1c74794c7580b93053d09ffd9dcc3a323c97f.tar.bz2
upstream-39d1c74794c7580b93053d09ffd9dcc3a323c97f.zip
Add cdc-acm locking fix from #3836
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12154 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch b/target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch
new file mode 100644
index 0000000000..7107a93157
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch
@@ -0,0 +1,12 @@
+--- linux-2.6.25.12/drivers/usb/class/cdc-acm.c 2008-07-24 18:14:20.000000000 +0200
++++ linux-2.6.25.12.new/drivers/usb/class/cdc-acm.c 2008-08-05 21:39:35.000000000 +0200
+@@ -531,8 +531,8 @@
+ tasklet_schedule(&acm->urb_task);
+
+ done:
+-err_out:
+ mutex_unlock(&acm->mutex);
++err_out:
+ mutex_unlock(&open_mutex);
+ return rv;
+