Re: USB recursive locking, 2.6.27-rc5 while keyboard unplug/plug

From: Oliver Neukum
Date: Thu Sep 04 2008 - 07:49:25 EST


Am Donnerstag 04 September 2008 13:39:04 schrieb Denys Fedoryshchenko:
> Got a warning, while plugging/unplugging keyboard.

Please edit drivers/hid/usbhid/hid-core.c
static void hid_cease_io(struct usbhid_device *usbhid)
{
del_timer(&usbhid->io_retry);
usb_kill_urb(usbhid->urbin);
usb_kill_urb(usbhid->urbctrl);
usb_kill_urb(usbhid->urbout);
flush_scheduled_work();
}

to remove the flush_scheduled_work() and try again.

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/