spi: spi-msm-geni: Protect from register access in suspend state
This change protects from unclocked access if framework calls the
prepare_message() from any condition. Though driver expects to return
from transfer_hardware() if PM is not enabled, this will double sure
to ensure clocks are enabled before further transfer.
Do not serve system suspend if driver is runtime active, let runtime
suspend happen first and then serve system suspend.
Change-Id: I78613a6aefa9a28f2793277152494f36b8c933e8
Signed-off-by:
Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Loading
Please register or sign in to comment