commit | 7d672cd7506165818aacf97fdc448cffc72bde37 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Fri Oct 31 00:07:23 2008 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Nov 13 10:31:35 2008 +0100 |
tree | dcdfedb642c53b8100ce4511d34a30f7a370e729 | |
parent | 4ffaf869c7780bbdfc11291e5fd4b61dde662b1c [diff] |
HID: fix locking in hidraw_open() As open needs to sleep hidraw was wrong to call it with a spinlock held. Furthermore, open can of course fail which needs to be handled. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>