Re: [PATCH 6/6] soundwire: qcom: add support to new interrupts

From: Pierre-Louis Bossart
Date: Fri Jan 29 2021 - 15:24:01 EST




On 1/29/21 11:32 AM, Srinivas Kandagatla wrote:
Add support to new interrupts and update irq routine in a way
to deal with multiple pending interrupts with in a single interrupt!

I can't parse the wording after 'update irq routine'.


+ swrm->reg_write(swrm, SWRM_INTERRUPT_CLEAR, intr_sts);
+ swrm->reg_write(swrm, SWRM_INTERRUPT_CLEAR, 0x0);

what does this second write 0x0 do? Usually interrupts are W1C, and you didn't have this before.