mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
usb: dwc3: gadget: Rate limit error message within ep_dequeue() API
With USB QDSS software path disable case, usb_qdss_close() API tries to dequeue all queued USB requests which may have been already moved to cancelled list and unlikely available as those may have been already given back from end xfer command. There are more than 200 USB request and quick enable/disable of USB QDSS software path results into error message flooding serial console possibly causign watchdog timeout. Hence rate limit error message with ep_dequeue() API. Change-Id: I78dbffc5ec5e1b5d8d0df91da6aded398c988be9 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
This commit is contained in:
parent
8ac77746dc
commit
b0ffe3d223
1 changed files with 1 additions and 1 deletions
|
|
@ -1738,7 +1738,7 @@ static int dwc3_gadget_ep_dequeue(struct usb_ep *ep,
|
|||
}
|
||||
}
|
||||
|
||||
dev_err(dwc->dev, "request %pK was not queued to %s\n",
|
||||
dev_err_ratelimited(dwc->dev, "request %pK was not queued to %s\n",
|
||||
request, ep->name);
|
||||
ret = -EINVAL;
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue