Commit 7c3c45b9 authored by Rajkumar Raghupathy's avatar Rajkumar Raghupathy
Browse files

USB: msm72k_udc: Check if the ep is not disabled before queuing it



Queuing a request on a disabled endpoint during composition switch leads
to prime failure. Hence return -EINVAL if a request is queued on a disabled
endpoint.

Also, in f_mtp, block queuing a request in OUT ep in receive_file_work, if
the device state is STATE_OFFLINE.

Change-Id: I0e706d5280a2460baf6ab05dbf97a09c59b642fb
CRs-Fixed: 378207
Signed-off-by: default avatarRajkumar Raghupathy <raghup@codeaurora.org>
parent 79c65b5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment