Commit 2fc602c
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 350e275 commit 2fc602c
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1566 | 1566 | | |
1567 | 1567 | | |
1568 | 1568 | | |
1569 | | - | |
1570 | | - | |
| 1569 | + | |
| 1570 | + | |
1571 | 1571 | | |
1572 | 1572 | | |
1573 | 1573 | | |
1574 | | - | |
1575 | | - | |
1576 | 1574 | | |
1577 | 1575 | | |
1578 | 1576 | | |
| |||
1584 | 1582 | | |
1585 | 1583 | | |
1586 | 1584 | | |
1587 | | - | |
| 1585 | + | |
1588 | 1586 | | |
1589 | 1587 | | |
1590 | 1588 | | |
| |||
1620 | 1618 | | |
1621 | 1619 | | |
1622 | 1620 | | |
1623 | | - | |
1624 | | - | |
1625 | | - | |
1626 | 1621 | | |
1627 | 1622 | | |
1628 | 1623 | | |
| |||
0 commit comments