aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatthias Reichl <[email protected]>2020-02-20 21:29:56 +0100
committerMark Brown <[email protected]>2020-02-20 22:06:12 +0000
commitac0a68997935c4acb92eaae5ad8982e0bb432d56 (patch)
tree3e9c41b2484e2df836dca3473d1b0d37886f613f /scripts
parent63d68382f5fb5f71772357e31841c19c4a133182 (diff)
ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path
When we get a clock error during probe we have to call regulator_bulk_disable before bailing out, otherwise we trigger a warning in regulator_put. Fix this by using "goto err" like in the error cases above. Fixes: 5a3af1293194d ("ASoC: pcm512x: Add PCM512x driver") Signed-off-by: Matthias Reichl <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions