Skip to content

Commit 96e202f

Browse files
Stuart Hendersonbroonie
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 <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6fa849e commit 96e202f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)