summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7088d7d)
raw | patch | inline | side by side (parent: 7088d7d)
author | Ravi B <ravibabu@ti.com> | |
Wed, 12 Oct 2011 11:11:10 +0000 (16:41 +0530) | ||
committer | Vaibhav Hiremath <hvaibhav@ti.com> | |
Mon, 23 Jan 2012 19:14:32 +0000 (00:44 +0530) |
changing the warning statement to debug when the tx fifo
was unable to flush.
Signed-off-by: Ravi B <ravibabu@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
was unable to flush.
Signed-off-by: Ravi B <ravibabu@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
drivers/usb/musb/musb_host.c | patch | blob | history |
index c33c9de2686fe763358064236f961c883baad82a..5b1f74214623ac3f467090418c54f1235eb21338 100644 (file)
csr |= MUSB_TXCSR_FLUSHFIFO;
musb_writew(epio, MUSB_TXCSR, csr);
csr = musb_readw(epio, MUSB_TXCSR);
- if (WARN(retries-- < 1,
- "Could not flush host TX%d fifo: csr: %04x\n",
- ep->epnum, csr))
+ if (retries-- < 1) {
+ dev_dbg(musb->controller, "Could not flush host TX%d fifo: csr: %04x\n",
+ ep->epnum, csr);
return;
+ }
mdelay(1);
}
}