Re: [PATCH V2 1/2] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

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

 



On Wed, 8 Aug 2012, Laurent Pinchart wrote:

> I guess it depends on the usb_ep_dequeue() API. The function documentation 
> doesn't clearly state whether calling it with an already dequeuing request is 
> valid (in which case it should return an error, possibly print a debug 
> message, but not a warning/error message) or not (in which case it can be very 
> vocal about it, and even WARN_ON()).

It is valid.  It pretty much has to be, because we need to handle the
possibility that two threads might try to cancel the same request at
the same time.

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