HID: no more reinitializtion is needed in post_reset
No more reinitialization is needed in the post reset hook, remove the FIXME comment. While at it, clean up whitespaces in the immediate surrounding. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
@@ -1239,7 +1239,6 @@ static int hid_post_reset(struct usb_interface *intf)
|
|||||||
clear_bit(HID_RESET_PENDING, &usbhid->iofl);
|
clear_bit(HID_RESET_PENDING, &usbhid->iofl);
|
||||||
spin_unlock_irq(&usbhid->lock);
|
spin_unlock_irq(&usbhid->lock);
|
||||||
hid_set_idle(dev, intf->cur_altsetting->desc.bInterfaceNumber, 0, 0);
|
hid_set_idle(dev, intf->cur_altsetting->desc.bInterfaceNumber, 0, 0);
|
||||||
/* FIXME: Any more reinitialization needed? */
|
|
||||||
status = hid_start_in(hid);
|
status = hid_start_in(hid);
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
hid_io_error(hid);
|
hid_io_error(hid);
|
||||||
|
Reference in New Issue
Block a user