]> Git Repo - linux.git/commitdiff
ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll
authorStuart Henderson <[email protected]>
Wed, 6 Mar 2024 16:14:39 +0000 (16:14 +0000)
committerMark Brown <[email protected]>
Wed, 6 Mar 2024 17:44:22 +0000 (17:44 +0000)
Use source instead of ret, which seems to be unrelated and will always
be zero.

Signed-off-by: Stuart Henderson <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/wm8962.c

index 2256cc0a37ebd5920f6f382f27d275a28d919082..7c6ed29831285f6bd08ceba939684e8958ea21cc 100644 (file)
@@ -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;
        }
 
This page took 0.080355 seconds and 4 git commands to generate.