aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorXingyu Wu <[email protected]>2023-04-26 03:12:16 +0000
committerWim Van Sebroeck <[email protected]>2023-04-29 06:08:40 +0000
commit90211b58828924577b589e59814f53aec4557fb9 (patch)
treeb296d84d9a9e53ec3c64bd31d59a1a2dd026c1e6 /tools/perf/scripts/python/syscall-counts.py
parentMAINTAINERS: Add fragment for Xilinx watchdog driver (diff)
downloadkernel-90211b58828924577b589e59814f53aec4557fb9.tar.gz
kernel-90211b58828924577b589e59814f53aec4557fb9.zip
watchdog: starfive: Fix the probe return error if PM and early_enable are both disabled
When the starfive watchdog driver uses 'pm_runtime_put_sync()' as probe return value at last and 'early_enable' is disabled, it could return the error '-ENOSYS' if the CONFIG_PM is disabled, but the driver should works normally. Drop the 'return' and keep the 'pm_runtime_put_sync()', but do not use it as the return value. Fixes: db728ea9c7be ("drivers: watchdog: Add StarFive Watchdog driver") Signed-off-by: Xingyu Wu <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions