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

Skip to content
Commit 8e09e1e9 authored by Ravit Katzav's avatar Ravit Katzav
Browse files

msm: ipa: handle power management on BAM irq



As IPA power management is handled by both APPS and MODEM,
there is a possible race condition that may lead to unclocked
access to IPA BAM registers.

In case MODEM sends a packet to IPA for APPS pipe and turns
off IPA clocks, SPS (BAM) driver will get interrupt from IPA
and access IPA BAM register without first making sure that
IPA clocks are requested from APPS side.

This change registers to SPS driver for it to handle IPA power management.
In case of BAM interrupt, SPS driver will call IPA driver callback
to make sure IPA clocks are not gated.

Change-Id: I572d1d5ddc3e0600b4d07e2231dd803911745925
Acked-by: default avatarAdy Abraham <adya@qti.qualcomm.com>
Signed-off-by: default avatarRavit Katzav <rkatzav@codeaurora.org>
parent 0dc1d186
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