Skip to content

Commit 96e202f

Browse files
stuhendersonbroonie
authored andcommitted
ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll
Use source instead of ret, which seems to be unrelated and will always be zero. Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com> Link: https://msgid.link/r/20240306161439.1385643-5-stuarth@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6fa849e commit 96e202f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/codecs/wm8962.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2933,7 +2933,7 @@ static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int s
29332933
WM8962_FLL_FRC_NCO, WM8962_FLL_FRC_NCO);
29342934
break;
29352935
default:
2936-
dev_err(component->dev, "Unknown FLL source %d\n", ret);
2936+
dev_err(component->dev, "Unknown FLL source %d\n", source);
29372937
return -EINVAL;
29382938
}
29392939

0 commit comments

Comments
 (0)