asoc: wcd937x: Add support to clear ack registers
WCD937x codec requires clear registers to be written '1' and '0' for clearing interrupts. Enable clear_ack flag in regmap irq chip structure for wcd937x. Change-Id: I0a2e4fc85fe6dca75885b5300840669afeabc80c Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
This commit is contained in:
@@ -101,6 +101,9 @@ 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,
|
||||
#if IS_ENABLED(CONFIG_AUDIO_QGKI)
|
||||
.clear_ack = 1,
|
||||
#endif
|
||||
.type_base = WCD937X_DIGITAL_INTR_LEVEL_0,
|
||||
.runtime_pm = false,
|
||||
.handle_post_irq = wcd937x_handle_post_irq,
|
||||
|
Reference in New Issue
Block a user