USB: gadget: f_mtp: Zero length packet fixes
authorMike Lockwood <lockwood@android.com>
Wed, 17 Nov 2010 16:16:35 +0000 (11:16 -0500)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:10 +0000 (09:09 -0700)
commit16c08c28717ba564ff2306f13803788a46d9159f
tree5207cada55dc78a76c93797f16ff5cbb34bc278a
parent3e800b6fa0f559b4cda0dfc866b85c94138d1c99
USB: gadget: f_mtp: Zero length packet fixes

Send zero length packets at end of transfers that are a multiple of the
bulk max packet size as required by MTP.

Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/f_mtp.c