diff options
author | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | 2016-04-12 16:03:33 +0530 |
---|---|---|
committer | Chandana Kishori Chiluveru <cchiluve@codeaurora.org> | 2016-12-12 15:17:48 +0530 |
commit | 280fe6dcf10a7af6141a6d48beeab05e32fa8e2c (patch) | |
tree | 0102d99b08df6c9dbc1b2a63bd5d235ccc0cb397 /drivers/usb/dwc3/dbm.c | |
parent | 58c91d96b2fca7590fc6b89f1a9bbe1247f818ab (diff) |
USB: dwc3-msm: Check endpoint status and request queued or not first
When function driver calls dwc3_msm_ep_queue() to queue endless request,
first check endpoint status and whether any request already queued or not.
If that is the case, return error. Else go ahead with queuing request
to USB HW. This helps in resolving the crash seen when request is being
queued again.
Change-Id: I3d6a603c693d1df36719f57684ffad409e1a0e78
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Diffstat (limited to 'drivers/usb/dwc3/dbm.c')
0 files changed, 0 insertions, 0 deletions