[U-Boot] USB gadget driver

Hi All,
I am porting the USB gadget driver to a new hardware. Problems I encounter:
1) In bulk_out_complete, the bh->state is set to BUF_STATE_FULL, then after sleep_thread of the "wait for CBW to arrive", it becomes BUF_STATE_BUSY.
Please help me.
victor
================================================================================================ CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and may be protected by legal privilege. If you are not the intended addressee (or authorized to receive for the addressee). be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation. KeyASIC Inc. ================================================================================================
participants (1)
-
victor