summaryrefslogtreecommitdiff
path: root/sound/soc/generic/simple-card-utils.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-09-26 16:14:44 +0200
committerMark Brown <broonie@kernel.org>2023-09-26 16:14:44 +0200
commitaf08458988cb5dd4b4ff87cfb9da81c6d2c8ef7a (patch)
tree5a71f1c4e3099d7cfe4c6f880e707173b6ec9cda /sound/soc/generic/simple-card-utils.c
parente952e89b0602aeb856396eac4306098249c43548 (diff)
parent2b21207afd06714986a3d22442ed4860ba4f9ced (diff)
ASoC: Merge up fixes
For the benefit of CI.
Diffstat (limited to 'sound/soc/generic/simple-card-utils.c')
-rw-r--r--sound/soc/generic/simple-card-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-card-utils.c b/sound/soc/generic/simple-card-utils.c
index 36ce3a4343f9..11f186ea662a 100644
--- a/sound/soc/generic/simple-card-utils.c
+++ b/sound/soc/generic/simple-card-utils.c
@@ -310,7 +310,8 @@ int simple_util_startup(struct snd_pcm_substream *substream)
if (fixed_sysclk % props->mclk_fs) {
dev_err(rtd->dev, "fixed sysclk %u not divisible by mclk_fs %u\n",
fixed_sysclk, props->mclk_fs);
- return -EINVAL;
+ ret = -EINVAL;
+ goto codec_err;
}
ret = snd_pcm_hw_constraint_minmax(substream->runtime, SNDRV_PCM_HW_PARAM_RATE,
fixed_rate, fixed_rate);