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

Commit 040f0b15 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: dwc3: Replace WARN_ON() by WARN_ON_ONCE() and logging with buffer



In some of cases when ep0 operations are fails, WARN_ON is called from
interrupt context. This may lead to watchdog bark if repeated WARN_ON
condition occurs. Hence replace usage of WARN_ON() by WARN_ON_ONCE() and
logging errror as part of debug buffer.

CRs-Fixed: 907077
Change-Id: I40de055b1e8d610c43c7fff32cd904c43b9bec00
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent e7c95927
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