commit | 3e800b6fa0f559b4cda0dfc866b85c94138d1c99 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Nov 16 17:14:32 2010 -0500 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:09:10 2011 -0700 |
tree | 8b260589f49584a0b779545c4423955c666edb0b | |
parent | 76ac65501829684f281b5ad79b7f730b86c335c7 [diff] |
USB: gadget: f_mtp: Support for file transfer length greater than 4 gigabytes For backward compatibility with PTP, MTP is limited to a 32-bit file size. When transferring files greater than 4 gig, MTP uses 0xFFFFFFFF as the file size and the receiver reads until it receives a short packet. Expanded size of mtp_file_range.length to 64 bits and added support for writing zero length packets. Signed-off-by: Mike Lockwood <lockwood@android.com>