summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.25/965-cdc_acm_unlock.patch
blob: c70181c617c2485e290568cb0cbf1c0d9c245352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -531,8 +531,8 @@
 	tasklet_schedule(&acm->urb_task);
 
 done:
-err_out:
 	mutex_unlock(&acm->mutex);
+err_out:
 	mutex_unlock(&open_mutex);
 	return rv;