Skip to content

Commit 8f2cb03

Browse files
Aniketalexandrebelloni
authored andcommitted
i3c: dw: Fix clearing queue thld
QUEUE_THLD_CTRL_IBI_STAT_MASK is repeated twice. Replace with QUEUE_THLD_CTRL_IBI_DATA_MASK. Signed-off-by: Aniket <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
1 parent be90ae1 commit 8f2cb03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i3c/master/dw-i3c-master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ static int dw_i3c_master_bus_init(struct i3c_master_controller *m)
631631
thld_ctrl = readl(master->regs + QUEUE_THLD_CTRL);
632632
thld_ctrl &= ~(QUEUE_THLD_CTRL_RESP_BUF_MASK |
633633
QUEUE_THLD_CTRL_IBI_STAT_MASK |
634-
QUEUE_THLD_CTRL_IBI_STAT_MASK);
634+
QUEUE_THLD_CTRL_IBI_DATA_MASK);
635635
thld_ctrl |= QUEUE_THLD_CTRL_IBI_STAT(1) |
636636
QUEUE_THLD_CTRL_IBI_DATA(31);
637637
writel(thld_ctrl, master->regs + QUEUE_THLD_CTRL);

0 commit comments

Comments
 (0)