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

Skip to content
Commit b784f0a2 authored by Min Liu's avatar Min Liu Committed by min.liu
Browse files

[ALPS08751924] Stop SCP after irq clear



[Description]
Root cause:
1. stop ultrasound, send IPI to stop ultrasound SCP and
disable audio irq, then ultrasound irq handler will not
receive audio irq but ultrasound irq maybe not clear.
2. vow bargein still run, audio irq will send to vow
with ultrasound bit enabled.
3. ultrasond irq not clear will cause audio irq send to vow
3 times per 1ms, then SCP will be hang due to irq.
Solution:
clear irq first, then send IPI to SCP to stop audio irq.

[Test]
boot up, ultrasound enable/disable. ultrasound concurrence
with vow;

MTK-Commit-Id: e1573d01619d1111382b9647dbcb79a38ccaa1b9

CR-Id: ALPS08751924
Feature: Ultrasound Proximity Sensor
Change-Id: I44e9ed045eca758ba5b27a5168f867949148e805
Signed-off-by: default avatarMin Liu <min.liu@mediatek.com>
parent a1de8556
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