Commit 907621e9 authored by Vitor Soares's avatar Vitor Soares Committed by Boris Brezillon

i3c: dw: Fix dw_i3c_master_disable controller by using correct mask

The controller was being disabled incorrectly. The correct way is to clear

Fix this by clearing this bit.

Cc: Boris Brezillon <>
Cc: <>
Fixes: 1dd728f5 ("i3c: master: Add driver for Synopsys DesignWare IP")
Signed-off-by: default avatarVitor Soares <>
Signed-off-by: default avatarBoris Brezillon <>
parent 9752c37c
......@@ -300,7 +300,7 @@ to_dw_i3c_master(struct i3c_master_controller *master)
static void dw_i3c_master_disable(struct dw_i3c_master *master)
writel(readl(master->regs + DEVICE_CTRL) & DEV_CTRL_ENABLE,
writel(readl(master->regs + DEVICE_CTRL) & ~DEV_CTRL_ENABLE,
master->regs + DEVICE_CTRL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment