i3c: dw: Fix clearing queue thld
Subsystems (2)
PATCH 1/1 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]>
--- drivers/i3c/master/dw-i3c-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i3c/master/dw-i3c-master.c +1 -1
@@ -631,7 +631,7 @@ static int dw_i3c_master_bus_init(struct i3c_master_controller *m) thld_ctrl =readl (master->regs +QUEUE_THLD_CTRL ); thld_ctrl &= ~(QUEUE_THLD_CTRL_RESP_BUF_MASK |QUEUE_THLD_CTRL_IBI_STAT_MASK | -QUEUE_THLD_CTRL_IBI_STAT_MASK ); +QUEUE_THLD_CTRL_IBI_DATA_MASK ); thld_ctrl |=QUEUE_THLD_CTRL_IBI_STAT (1 ) |QUEUE_THLD_CTRL_IBI_DATA (31 );writel (thld_ctrl, master->regs +QUEUE_THLD_CTRL );
Signature · 1 line
2.45.2.505.gda0bf45e8d-goog
Quoted 4 lines · Aniket
QUEUE_THLD_CTRL_IBI_STAT_MASKis repeated twice.
Replace withQUEUE_THLD_CTRL_IBI_DATA_MASK.
Applied, thanks!
[1/1] i3c: dw: Fix clearing queue thld
https://git.kernel.org/abelloni/c/ed569e6cb3d7
Best regards,
Signature · 8 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -- linux-i3c mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-i3c