We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0b8d2 commit 69cf63bCopy full SHA for 69cf63b
sound/soc/generic/simple-card-utils.c
@@ -310,7 +310,8 @@ int asoc_simple_startup(struct snd_pcm_substream *substream)
310
if (fixed_sysclk % props->mclk_fs) {
311
dev_err(rtd->dev, "fixed sysclk %u not divisible by mclk_fs %u\n",
312
fixed_sysclk, props->mclk_fs);
313
- return -EINVAL;
+ ret = -EINVAL;
314
+ goto codec_err;
315
}
316
ret = snd_pcm_hw_constraint_minmax(substream->runtime, SNDRV_PCM_HW_PARAM_RATE,
317
fixed_rate, fixed_rate);
0 commit comments