Commit 96e202f8 authored by Stuart Henderson's avatar Stuart Henderson Committed by Mark Brown

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: default avatarStuart Henderson <stuarth@opensource.cirrus.com>
Link: https://msgid.link/r/20240306161439.1385643-5-stuarth@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6fa849e4
...@@ -2933,7 +2933,7 @@ static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int s ...@@ -2933,7 +2933,7 @@ static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int s
WM8962_FLL_FRC_NCO, WM8962_FLL_FRC_NCO); WM8962_FLL_FRC_NCO, WM8962_FLL_FRC_NCO);
break; break;
default: default:
dev_err(component->dev, "Unknown FLL source %d\n", ret); dev_err(component->dev, "Unknown FLL source %d\n", source);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment