commit | f26b372488028fb78957949b49bae18f270ecd3c | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Dec 13 01:17:54 2011 +0800 |
committer | Andy Green <andy.green@linaro.org> | Mon Jan 09 11:15:27 2012 +0800 |
tree | ec79461812462cbb3a6a6eceec1dafbc33c6d290 | |
parent | 787405f63fad6e19aad55be743720d4fde40ccec [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>