Re: [PATCH 1/1 v2] xHCI 1.0: Endpoint Not Enabled Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Jun 2011, Sarah Sharp wrote:

> The ring code will get stuck if you leave the TD on the td_list, and the
> driver will eventually ask you to cancel the URB, and then we get into
> further issues with the cancellation code and disabled endpoints.  I
> think you need to allow the code to try to find the TD and its URB, so
> that it can be given back to the driver with an error return code.
> Possibly -EPROTO?  We don't want to return -ENODEV, because the device
> might still be there, just not that particular endpoint.

When a nonexistent endpoint is specified in an URB you should return 
-ENOENT.

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux