summaryrefslogtreecommitdiff
path: root/target/linux
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
commitac25803120e4aa346cdaf56de0a9b1be329f0067 (patch)
tree0deb6ec8a49b75b62cd62d955f549f404fab407a /target/linux
parent352173f782a7bab662e788794c51ad00922481c4 (diff)
downloadmtk-20170518-ac25803120e4aa346cdaf56de0a9b1be329f0067.zip
mtk-20170518-ac25803120e4aa346cdaf56de0a9b1be329f0067.tar.gz
mtk-20170518-ac25803120e4aa346cdaf56de0a9b1be329f0067.tar.bz2
Add cdc-acm locking fix from #3836
SVN-Revision: 12154
Diffstat (limited to 'target/linux')
-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 0000000..7107a93
--- /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;
+