Commit c192859
i3c: master: dw-i3c: Fix missing reset assertion in remove() callback
[ Upstream commit bef1eef ]
The reset line acquired during probe is currently left deasserted when
the driver is unbound.
Switch to devm_reset_control_get_optional_exclusive_deasserted() to
ensure the reset is automatically re-asserted by the devres core when
the driver is removed.
Fixes: 62fe9d0 ("i3c: dw: Add power management support")
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260320-dw-i3c-v3-1-477040c2e3f5@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent b0cdbc6 commit c192859
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1554 | 1554 | | |
1555 | 1555 | | |
1556 | 1556 | | |
1557 | | - | |
1558 | | - | |
| 1557 | + | |
| 1558 | + | |
1559 | 1559 | | |
1560 | 1560 | | |
1561 | 1561 | | |
1562 | | - | |
1563 | | - | |
1564 | 1562 | | |
1565 | 1563 | | |
1566 | 1564 | | |
| |||
1572 | 1570 | | |
1573 | 1571 | | |
1574 | 1572 | | |
1575 | | - | |
| 1573 | + | |
1576 | 1574 | | |
1577 | 1575 | | |
1578 | 1576 | | |
| |||
1610 | 1608 | | |
1611 | 1609 | | |
1612 | 1610 | | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | 1611 | | |
1617 | 1612 | | |
1618 | 1613 | | |
| |||
0 commit comments