Thread (21 messages) 21 messages, 3 authors, 2015-07-30

RE: [PATCH net 2/2] r8152: reset device when tx timeout

From: Hayes Wang <hidden>
Date: 2015-07-28 09:52:32
Also in: lkml

Oliver Neukum [mailto:oneukum@suse.com]
Sent: Tuesday, July 28, 2015 4:57 PM
[...]
 * usb_queue_reset_device - Reset a USB device from an atomic context
 * @iface: USB interface belonging to the device to reset
 *
 * This function can be used to reset a USB device from an atomic
 * context, where usb_reset_device() won't work (as it blocks).

Please use it if you can. Your version for example is buggy.
It will oops if you unplug the device while a reset is scheduled.
Thanks for your suggestion. I would replace it. 

Best Regards,
Hayes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help