[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141216114614.GI6778@localhost>
Date: Tue, 16 Dec 2014 12:46:14 +0100
From: Johan Hovold <johan@...nel.org>
To: Jeremiah Mahler <jmmahler@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Johan Hovold <johan@...nel.org>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] usb: serial: handle -ENODEV and -EPROTO quietly
On Mon, Dec 15, 2014 at 11:10:37PM -0800, Jeremiah Mahler wrote:
> Perhaps something at a lower level could return a more apt error number
> such as -ENODEV. Then there would be no conflict with -EPROTO.
I'm afraid it's not possible to differentiate between a disconnected and
malfunctioning device in that short window before the disconnect is
reported and processes by the hub driver.
> I will look in to it again and re-submit the patches.
Let's see what comes out of this discussion first.
Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists