Oliver Neukum 89092ddd7a HID: fix possible deadlock in usbhid_close()
This patch switches usbhid_close() from flush_scheduled_work() to canceling
the outstanding work. This fixes a possible deadlock due to work taking
the mutex usbhid_close() holds. Lockdep reported the problem.

Signed-off-by: Oliver Neukum <oliver@neukum.org>

--
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2009-04-29 17:25:01 +02:00
..
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2008-05-20 16:44:43 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2008-10-14 23:50:56 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2008-10-14 23:51:01 +02:00
2008-10-14 23:50:56 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00
2009-03-30 15:12:54 +02:00