Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 339174da authored by Mukesh Kumar Savaliya's avatar Mukesh Kumar Savaliya
Browse files

spi: spi-msm-geni: Keep device to suspend if PM call fails



If the runtime PM is disabled, call to get_sync() will fail. In this
scenario, keep device to suspend state and return the error with warn
stack. This should help balance the runtime PM count in get_sync()
failed scenario.

In addition, if the runtime PM is found to be disabled, decide to
return an error and let framework retry the transfers.

Change-Id: Id37a49a4d7550c55dffffc915a63c5fe157f5559
Signed-off-by: default avatarMukesh Kumar Savaliya <msavaliy@codeaurora.org>
parent 336a29e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment