summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-05-01 22:15:04 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-07 16:02:54 -0700
commit3f0f67e02866b1dda6f7a69446490af149ecb60c (patch)
treea5728db564ee5b80d2bc114666f5b38c9da10f30 /tools/perf/scripts/python
parentac86aea5ab304436efbc54a99573b73d862bac21 (diff)
USB: f_mtp: Fix corner cases in MTP driver while syncing
Currently if USB composition switch happens while file transfer is happening either from/to device, ep_queue fails and sets device state to ERROR even if device state is already set to OFFLINE in function disable call. As part of ioctl call, if the state is not offline, moving the device state to READY and returning the error. Since the device state is marked as READY, the next write call tries to queue the request to hardware and is blocked and due to this, userspace is not calling the release function. Hence next mtp open fails even after cable reconnection. Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org> Change-Id: Ia8cbd1cd8c81b90389900b83744b2bed89068db5 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions