summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-10-09 02:23:03 +0100
committerAndy Green <andy.green@linaro.org>2011-10-09 02:23:03 +0100
commit995f6f36999fa81f8dc5c6f9e0a9591083375a10 (patch)
tree97d43c954dc6e13d21efa78f326151d019dc50aa /arch
parentda8db14040bb6196f4caea55366058717c9425ee (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