mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
ASoC: codecs: va-macro: Clean up on error path in probe()
Do some clean up before returning the error code.
Fixes: 281c97376c ("ASoC: codecs: va-macro: Rework version checking")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/aPMyw_ryay9LA5SW@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
93b2838c6e
commit
7e1906643a
|
|
@ -1632,7 +1632,7 @@ static int va_macro_probe(struct platform_device *pdev)
|
|||
/* read version from register */
|
||||
ret = va_macro_set_lpass_codec_version(va);
|
||||
if (ret)
|
||||
return ret;
|
||||
goto err_clkout;
|
||||
}
|
||||
|
||||
if (va->has_swr_master) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user