From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 17 Oct 2012 08:39:03 -0700 Subject: [U-Boot] [PATCH v2] USB: musb_udc: Make musb_peri_rx_ep check for MUSB_RXCSR_RXPKTRDY In-Reply-To: <1347565096-8880-1-git-send-email-trini@ti.com> References: <1347565096-8880-1-git-send-email-trini@ti.com> Message-ID: <20121017153903.GA27770@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Sep 13, 2012 at 12:38:16PM -0700, Tom Rini wrote: > From: Pankaj Bharadiya > > 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 > Signed-off-by: Tom Rini 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: