From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] USB: gadget: atmel_usba_udc: fix transfer hang issue
Date: Tue, 16 Dec 2014 16:09:09 +0100 [thread overview]
Message-ID: <201412161609.10090.marex@denx.de> (raw)
In-Reply-To: <1418638367-13919-1-git-send-email-voice.shen@atmel.com>
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@atmel.com>
Applied, thanks!
Best regards,
Marek Vasut
prev parent reply other threads:[~2014-12-16 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 10:12 [U-Boot] [PATCH] USB: gadget: atmel_usba_udc: fix transfer hang issue Bo Shen
2014-12-16 15:09 ` Marek Vasut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201412161609.10090.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.