usb: musb: fix bit mask for CSR in musb_h_tx_flush_fifo()
authorDaniel Mack <zonque@gmail.com>
Mon, 26 May 2014 12:52:37 +0000 (14:52 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 19:26:23 +0000 (14:26 -0500)
commit2ccc6d30a0abf3e1a38f264e279428b846712e0f
treecff5ade87b3d294a1cc5188af32fad5e06592607
parentc03da38d5d4b28f6ab559c4df8646dbda536b674
usb: musb: fix bit mask for CSR in musb_h_tx_flush_fifo()

The datasheet says that MUSB_TXCSR_FLUSHFIFO is only valid when
MUSB_TXCSR_TXPKTRDY is set as well.

With this patch applied, the warning in this function does no longer
kick in when an USB soundcard is unplugged while the stream is active.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c
This page took 0.025756 seconds and 5 git commands to generate.