From 56f0d7246510cff2fb848fc9bc4fee3329a623db Mon Sep 17 00:00:00 2001 From: okayserh Date: Sun, 10 Apr 2022 19:04:16 +0200 Subject: [PATCH] Minor fix, function name was wm8994_setvolume instead of wm8904_setvolume. --- drivers/audio/wm8904.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/audio/wm8904.c b/drivers/audio/wm8904.c index 2a056cb8b9..26f05e7f94 100644 --- a/drivers/audio/wm8904.c +++ b/drivers/audio/wm8904.c @@ -1228,7 +1228,7 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev, { /* Scale the balance setting to the range {0..(b16ONE - 1)} */ priv->balance = (balance * (b16ONE - 1)) / 1000; - wm8994_setvolume(priv, priv->volume, priv->mute); + wm8904_setvolume(priv, priv->volume, priv->mute); } else {