commit | d92870ddd248e8c2562a8c4047885d3ad221ece7 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Tue Sep 09 01:23:03 2008 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Oct 14 23:50:59 2008 +0200 |
tree | 27dc3359f8ed8beff068eda6feae205f0d136a79 | |
parent | d1d3a5f6eaee337d793ab9ac28e696f0262c3c8a [diff] |
HID: fix tty<->hid deadlock hid_compat_load() runs on the default workqueue, it request_module(), it execs modprobe, it exits, tty flushes default workqueue, it hangs, because we are still in it. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Tested-by: <Valdis.Kletnieks@vt.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>