diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-02-17 13:25:01 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-17 13:25:01 (GMT) |
commit | 57ab12e418ec4fe24c11788bb1bbdabb29d05679 (patch) | |
tree | 33a6b687de72e088ad71b155acaf982c1adc97ac /drivers/hid/Kconfig | |
parent | 7f978b9bf535cbbd1ae8d9fbdd7c4f60ab38f260 (diff) | |
download | linux-57ab12e418ec4fe24c11788bb1bbdabb29d05679.tar.xz |
HID: usbhid: initialize interface pointers early enough
Move the initialization of USB interface pointers from _start()
over to _probe() callback, which is where it belongs.
This fixes case where interface is NULL when parsing of report
descriptor fails.
LKML-Reference: <20100213135720.603e5f64@neptune.home>
Reported-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
0 files changed, 0 insertions, 0 deletions