]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: musb: host side diagnostics tweaks
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 24 Nov 2008 11:06:50 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:59 +0000 (09:59 -0800)
commitbb1c9ef1b4cd64f22e15e8447deac6043eeb151c
treefff9e2971fb989562519928c4b13728bcd469027
parent71783e0defa16ca5abca7750df98ff8e7767bd2e
USB: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_host.c