Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ffc18ff5 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Gerrit - the friendly Code Review server
Browse files

USB: dwc3: gadget.c: Use dev_err_ratelimit in ep_queue()



If there is a chance that function disable() gets delayed, in that
case, different function driver like f_fs.c driver endup queueing
request on OUT endpoint during disconnect. This results in ep_queue()
fails with -ESHUTDOWN and prints error message. Due to that, adb daemon
keeps on closing and reopening ep files and tries to queue request again.
This error print floods kernel log and results in watchdog timeout panic.
Fix it by ratelimiting error message to avoid flooding of kernel log.

Change-Id: I56b47960801df3b13902e93ba290120586157a97
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent adee9374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment