Commit bef1eef
i3c: master: dw-i3c: Fix missing reset assertion in remove() callback
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>1 parent e7a7186 commit bef1eef
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1606 | 1606 | | |
1607 | 1607 | | |
1608 | 1608 | | |
1609 | | - | |
1610 | | - | |
| 1609 | + | |
| 1610 | + | |
1611 | 1611 | | |
1612 | 1612 | | |
1613 | 1613 | | |
1614 | | - | |
1615 | | - | |
1616 | 1614 | | |
1617 | 1615 | | |
1618 | 1616 | | |
| |||
1624 | 1622 | | |
1625 | 1623 | | |
1626 | 1624 | | |
1627 | | - | |
| 1625 | + | |
1628 | 1626 | | |
1629 | 1627 | | |
1630 | 1628 | | |
| |||
1673 | 1671 | | |
1674 | 1672 | | |
1675 | 1673 | | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | 1674 | | |
1680 | 1675 | | |
1681 | 1676 | | |
| |||
0 commit comments