Skip to content

Commit 603e77a

Browse files
rayagondawsakernel
authored andcommitted
i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
Update slave isr mask (ISR_MASK_SLAVE) to include remaining two slave interrupts. Fixes: c245d94 ("i2c: iproc: Add multi byte read-write support for slave mode") Signed-off-by: Rayagonda Kokatanur <[email protected]> Acked-by: Ray Jui <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 545f401 commit 603e77a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/i2c/busses/i2c-bcm-iproc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ struct bcm_iproc_i2c_dev {
216216

217217
#define ISR_MASK_SLAVE (BIT(IS_S_START_BUSY_SHIFT)\
218218
| BIT(IS_S_RX_EVENT_SHIFT) | BIT(IS_S_RD_EVENT_SHIFT)\
219-
| BIT(IS_S_TX_UNDERRUN_SHIFT))
219+
| BIT(IS_S_TX_UNDERRUN_SHIFT) | BIT(IS_S_RX_FIFO_FULL_SHIFT)\
220+
| BIT(IS_S_RX_THLD_SHIFT))
220221

221222
static int bcm_iproc_i2c_reg_slave(struct i2c_client *slave);
222223
static int bcm_iproc_i2c_unreg_slave(struct i2c_client *slave);

0 commit comments

Comments
 (0)