summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorArtem Shimko <a.shimko.dev@gmail.com>2025-11-04 17:54:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-17 15:05:00 +0100
commit485c13d9bc7a83532c038757c2f155728bb4bb38 (patch)
tree1aede8bae6f303d1c3542d2d94e5b379ad0ae9b4 /tools/perf/scripts/python/task-analyzer.py
parentd31228143a489ba6ba797896a07541ce06828c09 (diff)
downloadlinux-485c13d9bc7a83532c038757c2f155728bb4bb38.tar.gz
linux-485c13d9bc7a83532c038757c2f155728bb4bb38.zip
serial: 8250_dw: fix runtime PM initialization sequence
Move pm_runtime_set_active() call earlier in probe to simplify error handling and add proper error checking to ensure the device is marked as active before any runtime PM operations can occur. Additionally, replace the const struct dev_pm_ops declaration with _DEFINE_DEV_PM_OPS macro for better consistency with modern kernel PM patterns. Signed-off-by: Artem Shimko <a.shimko.dev@gmail.com> Link: https://patch.msgid.link/20251104145433.2316165-3-a.shimko.dev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions