[U-Boot] [PATCH v2] USB: musb_udc: Make musb_peri_rx_ep check for MUSB_RXCSR_RXPKTRDY

Tom Rini trini at ti.com
Wed Oct 17 17:39:03 CEST 2012


On Thu, Sep 13, 2012 at 12:38:16PM -0700, Tom Rini wrote:

> From: Pankaj Bharadiya <pankaj.bharadiya at ti.com>
> 
> The endpoint rx count register value will be zero if it is read before
> receive packet ready bit (PERI_RXCSR:RXPKTRDY) is set.
> 
> Check for the receive packet ready bit (PERI_RXCSR:RXPKTRDY) before
> reading endpoint rx count register. Proceed with rx count read and
> FIFO read only if RXPKTRDY bit is set.
> 
> Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya at ti.com>
> Signed-off-by: Tom Rini <trini at ti.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121017/597103a9/attachment.pgp>


More information about the U-Boot mailing list