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

Commit eb759fe6 authored by aveshala's avatar aveshala
Browse files

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: Ifb6558a46dfb383f962e8ed40ed712be7ccd4c86
Signed-off-by: default avataraveshala <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