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

Commit c47102e5 authored by Bhalchandra Gajare's avatar Bhalchandra Gajare
Browse files

mfd: wcd9xxx: Clear sva engine interrupt before dispatch



It is possible that the SVASS_ENGINE interrupt from codec can be
triggered when previous interrupt is still under processing in threaded
context. In order to not lose interrupts in such a case, clear the
SVASS_ENGINE codec interrupt before it is dispatched to the threaded
interrupt handler.

Change-Id: I19e41cf14cf854e926def869c6a386e595d1451e
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
parent 563010bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -633,7 +633,7 @@ static const struct intr_data intr_tbl_v3[] = {
	{WCD9XXX_IRQ_HPH_R_PA_STARTUP, false},
	{WCD9320_IRQ_EAR_PA_STARTUP, false},
	{WCD9330_IRQ_SVASS_ERR_EXCEPTION, false},
	{WCD9330_IRQ_SVASS_ENGINE, false},
	{WCD9330_IRQ_SVASS_ENGINE, true},
	{WCD9330_IRQ_MAD_AUDIO, false},
	{WCD9330_IRQ_MAD_BEACON, false},
	{WCD9330_IRQ_MAD_ULTRASOUND, false},