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:  Anil Veshala <quic_aveshala@quicinc.com>
Anil Veshala <quic_aveshala@quicinc.com>
Loading
Please register or sign in to comment
