]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
musb: host side diagnostics tweaks
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 23 Nov 2008 21:41:53 +0000 (13:41 -0800)
committerFelipe Balbi <felipe.balbi@nokia.com>
Mon, 24 Nov 2008 10:45:51 +0000 (12:45 +0200)
commit4e82179942bcda379b11c44c0787494a6007ee46
tree7fe9d861aeae1b8369b75e5694383097cd54a048
parent04b93f24460029805faed04e2def41a990a117cf
musb: host side diagnostics tweaks

Random host-side MUSB updates, mostly relating to better diagnostics:

 + Improve diagnostics on host side:
    - tx flush fifo:
       * Avoid hundreds of duplicate TX FIFONOTEMPTY messages
       * make "Can't flush TX fifo" a warning, and say which endpoint
    - giveback:
       * use correct status code
       * show completion function name not just URB pointer
    - Fix annoying "1 bytes" (should be "1 byte")

 + Be more consistent about failing init of unusable fifo_mode

It's not clear why that "can't flush TX fifo" message appears, though
it might relate to disconnection; I see it not infrequently

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_host.c