Loading sound/soc/codecs/wcd9320.c +16 −0 Original line number Diff line number Diff line Loading @@ -6181,6 +6181,22 @@ static irqreturn_t taiko_slimbus_irq(int irq, void *data) port_id = (tx ? j - 16 : j); val = wcd9xxx_interface_reg_read(codec->control_data, TAIKO_SLIM_PGD_PORT_INT_RX_SOURCE0 + j); if (val) { if (!tx) reg = TAIKO_SLIM_PGD_PORT_INT_EN0 + (port_id / 8); else reg = TAIKO_SLIM_PGD_PORT_INT_TX_EN0 + (port_id / 8); int_val = wcd9xxx_interface_reg_read( codec->control_data, reg); /* * Ignore interrupts for ports for which the * interrupts are not specifically enabled. */ if (!(int_val & (1 << (port_id % 8)))) continue; } if (val & TAIKO_SLIM_IRQ_OVERFLOW) pr_err_ratelimited( "%s: overflow error on %s port %d, value %x\n", Loading Loading
sound/soc/codecs/wcd9320.c +16 −0 Original line number Diff line number Diff line Loading @@ -6181,6 +6181,22 @@ static irqreturn_t taiko_slimbus_irq(int irq, void *data) port_id = (tx ? j - 16 : j); val = wcd9xxx_interface_reg_read(codec->control_data, TAIKO_SLIM_PGD_PORT_INT_RX_SOURCE0 + j); if (val) { if (!tx) reg = TAIKO_SLIM_PGD_PORT_INT_EN0 + (port_id / 8); else reg = TAIKO_SLIM_PGD_PORT_INT_TX_EN0 + (port_id / 8); int_val = wcd9xxx_interface_reg_read( codec->control_data, reg); /* * Ignore interrupts for ports for which the * interrupts are not specifically enabled. */ if (!(int_val & (1 << (port_id % 8)))) continue; } if (val & TAIKO_SLIM_IRQ_OVERFLOW) pr_err_ratelimited( "%s: overflow error on %s port %d, value %x\n", Loading