usb: chipidea: udc: zero-length packet is only needed for TX
authorPeter Chen <peter.chen@freescale.com>
Tue, 28 Jul 2015 02:08:32 +0000 (10:08 +0800)
committerPeter Chen <peter.chen@freescale.com>
Fri, 14 Aug 2015 01:16:46 +0000 (09:16 +0800)
commita4da4f12b4a7e7072753ebae9b2ccd72b89c3392
tree6b3257aa51f7e03fa1a76c92225d29352985a175
parent11a27098e884b8eb797f1579ebc51cb0e0510cc3
usb: chipidea: udc: zero-length packet is only needed for TX

The zero-length packet is the sendor tells the receiver that there
is no more data, so it is only needed at the TX side.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/udc.c