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

Commit aac39233 authored by Osvaldo Banuelos's avatar Osvaldo Banuelos
Browse files

power: qcom: apm: acquire spinlock during APM mode transitions



In order to guarantee the APM switch sequence is not preempted as
well as to provide synchronization in the event the APM switch mode
APIs are called concurrently, introduce a per-APM controller spinlock
which must be acquired and released during the VDD_APCC to VDD_MX
and VDD_MX to VDD_APCC switch sequences.

Change-Id: I630498c512c58cf07754553b75357375158a544c
Signed-off-by: default avatarOsvaldo Banuelos <osvaldob@codeaurora.org>
parent 738fe103
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