aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDragan Simic <[email protected]>2024-09-29 11:21:17 +0200
committerMark Brown <[email protected]>2024-10-08 18:41:07 +0100
commite2fc05873905f2ee96b38a116ae86f45fe7d8e49 (patch)
treede52f7d4f8aac3129c6d1a5fde52d28322851668 /tools/perf/scripts/python/gecko.py
parent36e69b160705b65bf136c2fb6a1194447eeb8478 (diff)
spi: rockchip: Use dev_{err,warn}_probe() in the probe path
Use function dev_err_probe() in the probe path instead of dev_err() where appropriate, to make the code a bit more uniform and compact. Use the new function dev_warn_probe() to improve error handling for the TX and RX DMA channel requests, which are actually optional, and tweak the logged warnings a bit to additionally describe their optional nature. Previously, deferred requests for the TX and RX DMA channels produced no debug messages, and the final error messages didn't include the error codes, which are all highly useful when debugging permanently failed DMA channel requests, such as when the required drivers aren't enabled. Suggested-by: Hélene Vulquin <[email protected]> Signed-off-by: Dragan Simic <[email protected]> Tested-by: Hélène Vulquin <[email protected]> Link: https://patch.msgid.link/5b6bd142dab3ab93d7039db3e2fdcfea6bee2217.1727601608.git.dsimic@manjaro.org Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions