[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240306161439.1385643-5-stuarth@opensource.cirrus.com>
Date: Wed, 6 Mar 2024 16:14:39 +0000
From: Stuart Henderson <stuarth@...nsource.cirrus.com>
To: <broonie@...nel.org>, <shengjiu.wang@...il.com>, <Xiubo.Lee@...il.com>
CC: <patches@...nsource.cirrus.com>, <linux-sound@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <alsa-devel@...a-project.org>,
"Stuart
Henderson" <stuarth@...nsource.cirrus.com>
Subject: [PATCH 5/5] 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@...nsource.cirrus.com>
---
sound/soc/codecs/wm8962.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 24bd818c3345..5ad6850c591f 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2941,7 +2941,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;
}
--
2.39.2
Powered by blists - more mailing lists