diff options
author | Mike Lockwood <lockwood@android.com> | 2011-10-09 02:23:03 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-09 02:23:03 +0100 |
commit | 995f6f36999fa81f8dc5c6f9e0a9591083375a10 (patch) | |
tree | 97d43c954dc6e13d21efa78f326151d019dc50aa /arch | |
parent | da8db14040bb6196f4caea55366058717c9425ee (diff) |
USB: gadget: f_mtp: Make sure request is dequeued if transfer is canceled
If the host cancels a file transfer while we have a read request pending,
call usb_ep_dequeue to cancel the read.
Also return -ECANCELED from mtp_ioctl if we are canceled in MTP_RECEIVE_FILE
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions