diff options
author | 2024-01-29 17:25:48 +0100 | |
---|---|---|
committer | 2024-02-05 14:28:54 +0100 | |
commit | ac6f87aaa26fa88680db23051a5d2b13a08d13b8 (patch) | |
tree | 84abee80d8c19440457e08aefa8f32d28ecc40f3 /scripts/generate_rust_analyzer.py | |
parent | PM: sleep: stats: Use locking in dpm_save_failed_dev() (diff) | |
download | linux-rng-ac6f87aaa26fa88680db23051a5d2b13a08d13b8.tar.xz linux-rng-ac6f87aaa26fa88680db23051a5d2b13a08d13b8.zip |
PM: sleep: stats: Log errors right after running suspend callbacks
The error logging and failure statistics updates are carried out in two
places in each system-wide device suspend phase, which is unnecessary
code duplication, so do that in one place in each phase, right after
invoking device suspend callbacks.
While at it, add "noirq" or "late" to the "async" string printed when
the failing device callback in the "noirq" or "late" suspend phase,
respectively, was run asynchronously.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions