On Mon, 2 Mar 2015, Aleksander Morgado wrote: > I think my patch also lacks the -EREMOTEIO return for the case when 0 > bytes are transferred. I'll try to update it today. It's not necessary. The USB core automatically sets the status to -EREMOTEIO if the status is equal to 0 and the transfer was short and URB_SHORT_NOT_OK was set. See __usb_hcd_giveback_urb(). Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html