USB: ethernet gadget avoids zlps for musb_hdrc
authorDavid Brownell <david-b@pacbell.net>
Wed, 30 Aug 2006 20:24:56 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:56 +0000 (11:58 -0700)
commit729ed6d502b45fd3b5c3b21c3ceaa63a8fe7cc43
tree2bbf684c8be54c4cbd1517e5d08ce185fa3f02bd
parent4d6cd48380c4d361cc8ec34359df22377d85d202
USB: ethernet gadget avoids zlps for musb_hdrc

For systems using the Mentor HDRC controllers we get better TX DMA throughput
if we can avoid falling back to PIO to write zero length packets ... so tell
the driver to avoid ZLPs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ether.c