Repository navigation
Commit ef9d007
ASoC: cs42l42: Disable regulators if probe fails
[ Upstream commit 1abca8e ]
In case of cs42l42_i2c_probe() fail, the regulators were left enabled.
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210306185553.62053-8-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent c0faad6 commit ef9d007
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1781 | 1781 | | |
1782 | 1782 | | |
1783 | 1783 | | |
1784 | | - | |
1785 | | - | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
1786 | 1788 | | |
1787 | 1789 | | |
1788 | 1790 | | |
| |||
1817 | 1819 | | |
1818 | 1820 | | |
1819 | 1821 | | |
1820 | | - | |
| 1822 | + | |
1821 | 1823 | | |
1822 | 1824 | | |
1823 | 1825 | | |
1824 | 1826 | | |
1825 | 1827 | | |
1826 | | - | |
| 1828 | + | |
1827 | 1829 | | |
1828 | 1830 | | |
1829 | 1831 | | |
| |||
1849 | 1851 | | |
1850 | 1852 | | |
1851 | 1853 | | |
1852 | | - | |
| 1854 | + | |
1853 | 1855 | | |
1854 | 1856 | | |
1855 | 1857 | | |
| |||
0 commit comments