Skip to content

Commit 06461e2

Browse files
TE-N-ShengjiuWangbroonie
authored andcommitted
ASoC: fsl_xcvr: enable interrupt of cmdc status update
This enables the interrupt to be asserted when there is a change in Capabilities data structure / Latency request of the CMDC Status register. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://patch.msgid.link/1728368873-31379-2-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent e6d20a9 commit 06461e2

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

sound/soc/fsl/fsl_xcvr.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,10 @@ static irqreturn_t irq0_isr(int irq, void *devid)
12651265
dev_dbg(dev, "DMA write request\n");
12661266
isr_clr |= FSL_XCVR_IRQ_DMA_WR_REQ;
12671267
}
1268+
if (isr & FSL_XCVR_IRQ_CMDC_STATUS_UPD) {
1269+
dev_dbg(dev, "CMDC status update\n");
1270+
isr_clr |= FSL_XCVR_IRQ_CMDC_STATUS_UPD;
1271+
}
12681272

12691273
if (isr_clr) {
12701274
regmap_write(regmap, FSL_XCVR_EXT_ISR_CLR, isr_clr);

sound/soc/fsl/fsl_xcvr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
FSL_XCVR_IRQ_MUTE | \
166166
FSL_XCVR_IRQ_FIFO_UOFL_ERR | \
167167
FSL_XCVR_IRQ_HOST_WAKEUP | \
168+
FSL_XCVR_IRQ_CMDC_STATUS_UPD |\
168169
FSL_XCVR_IRQ_ARC_MODE)
169170

170171
#define FSL_XCVR_ISR_CMDC_TX_EN BIT(3)

0 commit comments

Comments
 (0)