We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a21d5 commit bba676cCopy full SHA for bba676c
drivers/i2c/busses/i2c-bcm-iproc.c
@@ -1224,14 +1224,14 @@ static int bcm_iproc_i2c_unreg_slave(struct i2c_client *slave)
1224
1225
disable_irq(iproc_i2c->irq);
1226
1227
+ tasklet_kill(&iproc_i2c->slave_rx_tasklet);
1228
+
1229
/* disable all slave interrupts */
1230
tmp = iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET);
1231
tmp &= ~(IE_S_ALL_INTERRUPT_MASK <<
1232
IE_S_ALL_INTERRUPT_SHIFT);
1233
iproc_i2c_wr_reg(iproc_i2c, IE_OFFSET, tmp);
1234
- tasklet_kill(&iproc_i2c->slave_rx_tasklet);
-
1235
/* Erase the slave address programmed */
1236
tmp = iproc_i2c_rd_reg(iproc_i2c, S_CFG_SMBUS_ADDR_OFFSET);
1237
tmp &= ~BIT(S_CFG_EN_NIC_SMB_ADDR3_SHIFT);
0 commit comments