USB: musb: fix musb_host_tx() for shared endpoint FIFO
authorDmitry Krivoschekov <dkrivoschekov@ru.mvista.com>
Sat, 21 Feb 2009 23:30:15 +0000 (15:30 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 22:40:51 +0000 (14:40 -0800)
commitb7bdcb79de6de32e40dcc85a5e8c669bec2483d5
tree8b706795aba97108910c9cd45c4f2546ff3402be
parentc2c963217bb1e8d53622d41b9e9ae706d0d02c07
USB: musb: fix musb_host_tx() for shared endpoint FIFO

The input queue should be used for TX on endpoints which
share FIFO hardware.  The host TX path wasn't doing that.

Shared FIFOs are most often configured for periodic endpoints,
which are mostly used for RX/IN transfers ... that's probably
how this bug managed to linger for a long time.

[ dbrownell@users.sourceforge.net: update patch description ]

Signed-off-by: Dmitry Krivoschekov <dkrivoschekov@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_host.c