HID: Never call hid_free_buffers() when usbhid_device has been freed
authorJiri Kosina <jkosina@suse.cz>
Wed, 1 Aug 2007 10:32:27 +0000 (12:32 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 2 Aug 2007 11:48:04 +0000 (13:48 +0200)
commit22f675f320f721e9eaa2bbf7b883316b408c6c8f
treec9fc673b85a3893115feaeb6bae36745cfecced5
parentcda5ecf80bad94b4113722f037af818e7453dd2d
HID: Never call hid_free_buffers() when usbhid_device has been freed

We can't call hid_free_buffers() when the underlying usbhid_device
has already been freed.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c