Home
last modified time | relevance | path

Searched hist:"89092 ddd7aca598e3b8874f7a49216e7917d8f3f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.cdiff 89092ddd7aca598e3b8874f7a49216e7917d8f3f Wed Apr 29 10:12:12 CDT 2009 Oliver Neukum <oliver@neukum.org> 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>