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)
committerAnson Jacob <ansonkuzhumbil@gmail.com>
Thu, 10 Jul 2014 00:27:58 +0000 (00:27 +0000)
commitf8fe2735daaf662876d1333075991997c04d5359
treeae83da511458d0b4c4c94095e0621aa801fbcc1a
parent455b09d66a9ccfc572497ae88375ae343ff9ae66
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