diff options
author | Tony Lindgren <[email protected]> | 2021-04-17 11:38:39 +0300 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2021-04-21 16:43:51 +0200 |
commit | ddd8d94ca31e768c76cf8bfe34ba7b10136b3694 (patch) | |
tree | c722ec3dbfb66b0a4f3177c08fdcb23fac932289 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 23cf00ddd2e1aacf1873e43f5e0c519c120daf7a (diff) |
gpio: omap: Save and restore sysconfig
As we are using cpu_pm to save and restore context, we must also save and
restore the GPIO sysconfig register. This is needed because we are not
calling PM runtime functions at all with cpu_pm.
We need to save the sysconfig on idle as it's value can get reconfigured by
PM runtime and can be different from the init time value. Device specific
flags like "ti,no-idle-on-init" can affect the init value.
Fixes: b764a5863fd8 ("gpio: omap: Remove custom PM calls and use cpu_pm instead")
Cc: Aaro Koskinen <[email protected]>
Cc: Adam Ford <[email protected]>
Cc: Andreas Kemnade <[email protected]>
Cc: Grygorii Strashko <[email protected]>
Cc: Peter Ujfalusi <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Grygorii Strashko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions