aboutsummaryrefslogtreecommitdiff
path: root/lib/zstd/common/debug.c
diff options
context:
space:
mode:
authorThomas Perrot <[email protected]>2023-10-20 15:02:19 +0200
committerClaudiu Beznea <[email protected]>2023-11-19 11:32:44 +0200
commitaa1cfba75b77ca93ab9a0b03c2c9124a16d96479 (patch)
treef56b999dc62394d83a536b93cafce147fcad3b00 /lib/zstd/common/debug.c
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
ARM: at91: pm: set soc_pm.data.mode in at91_pm_secure_init()
In non secure mode, soc_pm.data.mode is set when entering pm in at91_pm_begin(). This value is used (not only) to determine if the system is going into slow clock mode (at91_suspend_entering_slow_clock()). This function is called from various drivers to check this and act accordingly. If not set, the driver might enter an incorrect suspend mode. When using secure suspend mode, at91_pm_begin() is not called and thus soc_pm.data.mode is not set. Since when using secure suspend, only one suspend mode is supported, set this value directly in at91_pm_secure_init(). Signed-off-by: Clément Léger <[email protected]> Signed-off-by: Thomas Perrot <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Claudiu Beznea <[email protected]>
Diffstat (limited to 'lib/zstd/common/debug.c')
0 files changed, 0 insertions, 0 deletions