Commit 312ec2f
ASoC: stm32: sai: fix clk prepare imbalance on probe failure
Make sure to unprepare the parent clock also on probe failures (e.g.
probe deferral).
Fixes: a14bf98 ("ASoC: stm32: sai: fix possible circular locking")
Cc: stable@vger.kernel.org # 5.5
Cc: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: olivier moysan <olivier.moysan@foss.st.com>
Link: https://patch.msgid.link/20251124104908.15754-3-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent e26ff42 commit 312ec2f
1 file changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
1637 | | - | |
| 1637 | + | |
1638 | 1638 | | |
1639 | 1639 | | |
1640 | | - | |
1641 | | - | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1642 | 1644 | | |
1643 | 1645 | | |
1644 | 1646 | | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
1645 | 1652 | | |
1646 | 1653 | | |
1647 | 1654 | | |
| |||
1688 | 1695 | | |
1689 | 1696 | | |
1690 | 1697 | | |
1691 | | - | |
| 1698 | + | |
1692 | 1699 | | |
1693 | 1700 | | |
1694 | 1701 | | |
1695 | 1702 | | |
1696 | 1703 | | |
1697 | 1704 | | |
1698 | | - | |
1699 | | - | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
1700 | 1709 | | |
1701 | 1710 | | |
1702 | 1711 | | |
1703 | 1712 | | |
1704 | 1713 | | |
1705 | | - | |
| 1714 | + | |
1706 | 1715 | | |
1707 | 1716 | | |
1708 | 1717 | | |
1709 | 1718 | | |
1710 | 1719 | | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
1711 | 1725 | | |
1712 | 1726 | | |
1713 | 1727 | | |
| |||
0 commit comments