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

2021-03-30 Thread Vinod Koul
On 26-03-21, 06:39, Srinivas Kandagatla wrote: > - ctrl->reg_write(ctrl, SWRM_INTERRUPT_CLEAR, sts); > + do { > + for (i = 0; i < SWRM_INTERRUPT_MAX; i++) { > + value = intr_sts_masked & (1 << i); BIT(i) istead of shifiting? > + if

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

2021-03-26 Thread Srinivas Kandagatla
Add support to new interrupts which includes reporting some of the error interrupts and adding support to SLAVE pending interrupt! This patch also changes the interrupt handler behaviour on handling any pending interrupts by checking it before returning out of irq handler. Signed-off-by: