[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0835B3720019904CB8F7AA43166CEEB2F3C3F1@RTITMBSV03.realtek.com.tw>
Date: Tue, 28 Jul 2015 09:52:15 +0000
From: Hayes Wang <hayeswang@...ltek.com>
To: Oliver Neukum <oneukum@...e.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
nic_swsd <nic_swsd@...ltek.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>
Subject: RE: [PATCH net 2/2] r8152: reset device when tx timeout
Oliver Neukum [mailto:oneukum@...e.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
Powered by blists - more mailing lists