usb: musb: host: don't program dma for zero byte tx
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Fri, 20 Jul 2012 05:37:22 +0000 (11:07 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 3 Aug 2012 06:34:39 +0000 (09:34 +0300)
commit3132122c664dd9361e2179e8a388d87ca89ace6c
tree9e10ae98b352461936fb9dbf4e7c47a9a8c3fa8a
parentf0443afd1d82b07305df1511a6055311047fdfc6
usb: musb: host: don't program dma for zero byte tx

This is to reduce the overhead of dma programming for zero byte
transmit as same can be done using pio mode.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c