Searched hist:"3 f0be8ea9217311ec41156fd89e3e23a0308f3b2" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_udc.c | 3f0be8ea9217311ec41156fd89e3e23a0308f3b2 Thu Sep 13 09:38:16 UTC 2012 Pankaj Bharadiya <pankaj.bharadiya@ti.com> USB: musb_udc: Make musb_peri_rx_ep check for MUSB_RXCSR_RXPKTRDY
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@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
|