diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-01-29 19:25:48 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-05 16:28:54 +0300 |
commit | ac6f87aaa26fa88680db23051a5d2b13a08d13b8 (patch) | |
tree | 84abee80d8c19440457e08aefa8f32d28ecc40f3 /net/core/secure_seq.c | |
parent | a6d38e991dc4f1b4a86137177435660df53951c5 (diff) | |
download | linux-ac6f87aaa26fa88680db23051a5d2b13a08d13b8.tar.xz |
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 'net/core/secure_seq.c')
0 files changed, 0 insertions, 0 deletions