aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-10-17 21:59:14 +0200
committerGreg Kroah-Hartman <[email protected]>2022-10-22 13:24:27 +0200
commit55f223b8b408cbfd85fb1c5b74ab85ccab319a69 (patch)
treec445606fc3f5f008ab7b1712e5e661d4b3246f7d /tools/perf/scripts/python/flamegraph.py
parent32fee1df51109a117eb5063e950c372278688098 (diff)
usb: dwc2: platform: Improve error reporting for problems during .remove()
Returning an error value in a platform driver's remove callback results in a generic error message being emitted by the driver core, but otherwise it doesn't make a difference. The device goes away anyhow. For each case where ret is non-zero the driver already emits an error message, so suppress the generic error message by returning zero unconditionally. (Side note: The return value handling was unreliable anyhow as the value returned by dwc2_exit_hibernation() was overwritten anyhow if hsotg->in_ppd was non-zero.) Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Minas Harutyunyan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions