[U-Boot] [PATCH] USB: gadget: atmel_usba_udc: fix transfer hang issue

Marek Vasut marex at denx.de
Tue Dec 16 16:09:09 CET 2014


On Monday, December 15, 2014 at 11:12:47 AM, Bo Shen wrote:
> When receive data, the RXRDY in status register set by hardware
> after a new packet has been stored in the endpoint FIFO. After,
> we copy from FIFO, we clear it, make the FIFO can be accessed
> again.
> In the receive_data() function, this bit RXRDY has been cleared.
> So, after the receive_data() function return, this bit should
> not be cleared again, or else it will cause the accessing FIFO
> corrupt, which will make the data loss.
> 
> Signed-off-by: Bo Shen <voice.shen at atmel.com>

Applied, thanks!

Best regards,
Marek Vasut


More information about the U-Boot mailing list