Re: [PATCH] usb: dwc3: fix EP_BUSY in case of dequeue

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

 



On 2/28/2013 4:18 PM, Felipe Balbi wrote:
+	if (list_empty(&dep->req_queued))
>+		dep->flags &= ~DWC3_EP_BUSY;
not sure this is correct. Whenever req_queue isn't empty, we call
dwc3_stop_active_transfer() which will clear DWC3_EP_BUSY flag.

Yes, if we clear DWC3_EP_BUSY in dwc3_stop_active_transfer then its fine. But we do not do that. Probably , error was introduced when "End Transfer" completion interrupt handling was removed.



--
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