On Mon, Dec 21, 2015 at 02:17:22PM +0100, Oliver Neukum wrote:
> Disconnecting a device is not just a hang up. The device is gone.
> We should tell user space the truth immediately.

I'm not sure about this one. The usb-serial drivers have always returned
-EIO on hangup, whatever the reason, and there's nothing wrong with
that implementation.

Also note that any further ioctls after returning will also fail with
-EIO.

I think it makes sense to just stick to -EIO here.

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to