diff options
| author | Herve Codina <herve.codina@bootlin.com> | 2025-10-29 12:39:18 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-29 23:13:24 +0300 |
| commit | 1e5351ba60f5355809f30c61bbd27e97611d2be9 (patch) | |
| tree | 9757f43eaf256c2158af6c53349f0bfcb2cc13ce /include | |
| parent | e2ff7154813a3834692703852604b2099ecf043a (diff) | |
| download | linux-1e5351ba60f5355809f30c61bbd27e97611d2be9.tar.xz | |
ASoC: cs4271: Disable regulators in component_probe() error path
The commit 9a397f473657 ("ASoC: cs4271: add regulator consumer support")
has introduced regulators in the driver.
Regulators are enabled at the beginning of component_probe() but they
are not disabled on errors. This can lead to unbalanced enable/disable.
Fix the error path to disable regulators on errors.
Fixes: 9a397f473657 ("ASoC: cs4271: add regulator consumer support")
Cc: stable@vger.kernel.org
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://patch.msgid.link/20251029093921.624088-3-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
