Tilman Schmidt
c6fdd8e5d0
bas_gigaset: fix pre_reset handling
...
The delayed work function int_in_work() may call usb_reset_device()
and thus, indirectly, the driver's pre_reset method. Trying to
cancel the work synchronously in that situation would deadlock.
Fix by avoiding cancel_work_sync() in the pre_reset method.
If the reset was NOT initiated by int_in_work() this might cause
int_in_work() to run after the post_reset method, with urb_int_in
already resubmitted, so handle that case gracefully.
Signed-off-by: Tilman Schmidt <tilman@imap.cc >
Signed-off-by: David S. Miller <davem@davemloft.net >
2012-10-26 02:20:36 -04:00
..
2012-10-16 18:07:12 -07:00
2012-10-05 22:32:05 -03:00
2012-10-06 03:04:40 +09:00
2012-10-09 16:23:02 +09:00
2012-10-15 14:45:51 -04:00
2012-10-11 09:04:23 +09:00
2012-10-16 18:14:31 -07:00
2012-10-08 14:58:56 -07:00
2012-10-08 22:52:54 -04:00
2012-10-07 20:55:16 +09:00
2012-10-10 11:10:41 +09:00
2012-10-06 03:16:12 +09:00
2012-10-09 18:26:28 +02:00
2012-10-09 16:08:04 +09:00
2012-10-16 16:40:53 +10:00
2012-10-11 00:45:21 -07:00
2012-10-13 11:27:59 +09:00
2012-10-11 10:27:51 +09:00
2012-10-06 03:04:41 +09:00
2012-10-10 19:52:19 +09:00
2012-10-13 10:56:03 +09:00
2012-10-08 06:33:44 +09:00
2012-10-26 02:20:36 -04:00
2012-10-10 20:14:07 +09:00
2012-10-07 21:04:56 +09:00
2012-10-06 03:16:12 +09:00
2012-10-13 13:22:01 -07:00
2012-10-12 12:39:17 +09:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-11 17:21:40 -04:00
2012-10-09 15:08:42 +01:00
2012-10-24 23:18:59 -04:00
2012-10-03 09:44:08 -07:00
2012-10-09 16:22:18 +09:00
2012-10-09 16:11:46 +09:00
2012-10-06 03:16:12 +09:00
2012-10-15 09:09:27 +02:00
2012-10-09 01:47:35 -04:00
2012-10-13 11:27:59 +09:00
2012-10-06 03:04:56 +09:00
2012-10-10 20:15:24 +09:00
2012-10-11 08:50:15 +09:00
2012-10-05 12:01:30 +09:00
2012-10-07 21:04:56 +09:00
2012-10-07 21:04:56 +09:00
2012-10-11 08:50:16 +09:00
2012-10-16 14:41:46 -04:00
2012-10-13 10:57:01 +09:00
2012-10-15 14:08:48 +09:00
2012-10-10 11:10:41 +09:00
2012-10-13 11:27:59 +09:00
2012-10-11 09:04:23 +09:00
2012-10-15 14:00:07 -07:00
2012-10-17 12:40:44 -07:00
2012-10-09 16:22:19 +09:00
2012-10-11 15:18:49 -04:00
2012-10-10 09:10:32 -06:00
2012-10-24 23:19:30 -04:00
2012-10-12 10:21:02 +09:00
2012-10-07 21:06:10 +09:00
2012-10-12 22:20:28 +09:00
2012-10-16 18:07:12 -07:00