Re: Multiple ep0 setup requests

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

 



Hello Alan,

on 01/24/2012 04:26 PM Alan Stern said the following:
> On Tue, 24 Jan 2012, Michael Hunold wrote:

>> One option is to nuke() the pending ep0 request and just process the new
>> request. It seems that other drivers are doing this, for example omap_udc.c.

> That is the right thing to do.

>> Any ideas?
> 
> Cancelling a control transfer in the middle is normal.  It will happen, 
> for example, when the host decides that the transfer has taken too 
> long.  The device must go along with whatever the host does.

thank you very much for your reply. I will change the driver so that it
handles the cancellation of a control transfer gracefully.

> Alan Stern

Best regards
Michael.
--
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