[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1542619239.2630.6.camel@suse.com>
Date: Mon, 19 Nov 2018 10:20:39 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>,
nsaaenzjulienne@...e.de, linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org
Subject: Re: [PATCH] usb: hub: add I/O error retry & reset routine
On Do, 2018-11-15 at 18:14 +0100, Nicolas Saenz Julienne wrote:
Hi,
what Alan said, in addition you need to stop the error handling
when the device is suspended or reset.
> @@ -713,8 +751,10 @@ static void hub_irq(struct urb *urb)
> return;
>
> status = usb_submit_urb(hub->urb, GFP_ATOMIC);
> - if (status != 0 && status != -ENODEV && status != -EPERM)
> + if (status != 0 && status != -ENODEV && status != -EPERM) {
This also needs to check for -ESHUTDOWN
Regards
Oliver
Powered by blists - more mailing lists