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

Skip to content
Commit 08c0ed4f authored by Anil Veshala's avatar Anil Veshala
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: Ic3336df922973050ebea00ab4dbab6ef0c61d765
Signed-off-by: default avatarAnil Veshala <quic_aveshala@quicinc.com>
parent 0a59cc88
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