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

Commit fb97c696 authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

ASoC: wcd937x: Fix mbhc insertion interrupt not cleared issue on wcd937x



wcd937x interrupt uses regmap irq framework which needs
to clear mbhc interrupt by setting clear_ack bit.
Enable this bit to clear interrupt.

Change-Id: I138ca7eda5da1b77e366797f4b81191d9b851a03
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 0063af22
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ static struct regmap_irq_chip wcd937x_regmap_irq_chip = {
	.mask_base = WCD937X_DIGITAL_INTR_MASK_0,
	.ack_base = WCD937X_DIGITAL_INTR_CLEAR_0,
	.use_ack = 1,
	.clear_ack = 1,
	.type_base = WCD937X_DIGITAL_INTR_LEVEL_0,
	.runtime_pm = false,
	.handle_post_irq = wcd937x_handle_post_irq,