Hi, On Fri, Mar 15, 2013 at 01:59:30PM +0800, victor yeo wrote: > For bulk transfer, the new UDC driver has one problem. When SCSI > Inquiry command is received, the UDC driver interrupt routine will > receive it first. However, the queue function is not yet called, and > queue buffer is not yet added. Thus, interrupt routine is not able to > store the SCSI Inquiry command to the queue buffer. > > This is a serious problem, what is the way to synchronise UDC driver > and file storage gadget driver for SCSI command bulk transfer? don't process the interrupt until you receive a queue. Data will be pending in controller's FIFO until then. -- balbi
Attachment:
signature.asc
Description: Digital signature