summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorStuart Henderson <stuarth@opensource.cirrus.com>2024-03-06 19:14:39 +0300
committerMark Brown <broonie@kernel.org>2024-03-06 20:44:22 +0300
commit96e202f8c52ac49452f83317cf3b34cd1ad81e18 (patch)
tree88128d9efdb0476d5e6e193c26610232290c2ca4 /sound
parent6fa849e4d78b880e878138bf238e4fd2bac3c4fa (diff)
downloadlinux-96e202f8c52ac49452f83317cf3b34cd1ad81e18.tar.xz
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 2256cc0a37eb..7c6ed2983128 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -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);
break;
default:
- dev_err(component->dev, "Unknown FLL source %d\n", ret);
+ dev_err(component->dev, "Unknown FLL source %d\n", source);
return -EINVAL;
}