[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:
Min Liu <min.liu@mediatek.com>
Loading
Please register or sign in to comment