summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-04-07 22:21:07 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2024-04-19 11:31:48 +0200
commit3242dd0ac91ea4fd9cf516f0d196a34ea23367de (patch)
tree76838f65c9e65899d5a9ff9c2fbd583167555e1b /drivers/fpga/fpga.c
parent1ef28c58d2dbd8c7d65e28ef500bfd359c66c07f (diff)
ARM: stm32: Jump to ep on successful resume in PSCI suspend code
In case the system has resumed successfully, the PSCI suspend resume code has to jump to the 'ep' successful resume entry point code path, otherwise the code has to jump to content of the LR register, which points to failed resume code path. To implement this distinction, rewrite LR register stored on stack with 'ep' value in case of a successful resume, which is really in every case unless some catastrophic failure occurred during suspend. Without this change, Linux counts every resume as failed in /sys/power/suspend_stats/fail Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions