commit | 7c3c45b9a4b51f422db4434c87e7951102ec2841 | [log] [tgz] |
---|---|---|
author | Rajkumar Raghupathy <raghup@codeaurora.org> | Tue Jul 24 16:13:36 2012 +0530 |
committer | Rajkumar Raghupathy <raghup@codeaurora.org> | Wed Jul 25 12:22:27 2012 +0530 |
tree | 2fec12a6d4126de971da979146e7af99b3d900f2 | |
parent | 79c65b5b5af46a8e0d728807bddb7eec4e5aef47 [diff] |
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: Rajkumar Raghupathy <raghup@codeaurora.org>