usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write
authorAnson Jacob <ansonkuzhumbil@gmail.com>
Mon, 23 Jun 2014 11:07:44 +0000 (19:07 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:00 +0000 (13:52 -0800)
commitb6d704d67426e8a1f90ea214097dbeb7bcb8ebed
tree75540ca143cb2d99dbf33f3aab1704cf38e40a53
parent43d61e6ff255f4e8aa7aed876852838374575c51
usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write

Accessory connected to Android Device requires
Zero Length Packet (ZLP) to be written when data
transferred out from the Android device are multiples
of wMaxPacketSize (64bytes (Full-Speed) / 512bytes (High-Speed))
to end the transfer.

Change-Id: Ib2c2c0ab98ef9afa10e74a720142deca5c0ed476
Signed-off-by: Anson Jacob <ansonkuzhumbil@gmail.com>
drivers/usb/gadget/f_accessory.c