Commit ef9d007a authored by Lucas Tanure's avatar Lucas Tanure Committed by Greg Kroah-Hartman
Browse files

ASoC: cs42l42: Disable regulators if probe fails



[ Upstream commit 1abca8e1 ]

In case of cs42l42_i2c_probe() fail, the regulators were left enabled.

Signed-off-by: default avatarLucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210306185553.62053-8-tanureal@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c0faad6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment