musb:gadget: use pio mode for zero byte transfer in gadget mode
authorRavi B <ravibabu@ti.com>
Wed, 12 Oct 2011 05:59:23 +0000 (11:29 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:32 +0000 (00:44 +0530)
commit7088d7d03469e78f40012d4e695dfc6a4934cdb6
tree6c3d529d43d308e5378ad7079d0b3d7b9d5bf5e7
parentddb8c729d458eed7b3ffae1849ea74f3d39435aa
musb:gadget: use pio mode for zero byte transfer in gadget mode

The cppi41 txdma is unable to transfer zero byte length, this
workaround uses pio mode to transfer zero byte length.

Signed-off-by: Ravi B <ravibabu@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
drivers/usb/musb/musb_gadget.c