mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
e7c3696d46
Currently we return the value from invoke_psci_fn() directly as return
value from psci_system_suspend(). It is wrong to send the PSCI interface
return value directly. psci_to_linux_errno() provide the mapping from
PSCI return value to the one that can be returned to the callers within
the kernel.
Use psci_to_linux_errno() to convert and return the correct value from
psci_system_suspend().
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
psci_checker.c | ||
psci.c |