diff options
author | Nishanth Menon <[email protected]> | 2023-06-20 08:03:29 -0500 |
---|---|---|
committer | Nishanth Menon <[email protected]> | 2023-07-11 13:01:08 -0500 |
commit | 9225bcdedf16297a346082e7d23b0e8434aa98ed (patch) | |
tree | 06e1b1be2aaf42c7b37c92a6b32392231282c54e /net/lapb/lapb_in.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
firmware: ti_sci: Use system_state to determine polling
Commit b9e8a7d950ff ("firmware: ti_sci: Switch transport to polled
mode during system suspend") aims to resolve issues with tisci
operations during system suspend operation. However, the system may
enter a no_irq stage in various other usage modes, including power-off
and restart. To determine if polling mode is appropriate, use the
system_state instead.
While at this, drop the unused is_suspending state variable and
related helpers.
Fixes: b9e8a7d950ff ("firmware: ti_sci: Switch transport to polled mode during system suspend")
Reported-by: Francesco Dolcini <[email protected]>
Reported-by: Wadim Egorov <[email protected]>
Tested-by: Francesco Dolcini <[email protected]> # Toradex Verdin AM62
Link: https://lore.kernel.org/r/[email protected]
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Nishanth Menon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions