未验证 提交 ded055ee 编写于 作者: J Judy Hsiao 提交者: Mark Brown

ASoC: max98373: Fixes a typo in max98373_feedback_get

The snd_soc_put_volsw in max98373_feedback_get is a typo, change it
to snd_soc_get_volsw.

Fixes: 349dd239 ("ASoC: max98373: don't access volatile registers in bias level off")
Signed-off-by: NJudy Hsiao <judyhsiao@google.com>
Link: https://lore.kernel.org/r/20210127135620.1143942-1-judyhsiao@chromium.orgSigned-off-by: NMark Brown <broonie@kernel.org>
上级 89e641ae
...@@ -190,7 +190,7 @@ static int max98373_feedback_get(struct snd_kcontrol *kcontrol, ...@@ -190,7 +190,7 @@ static int max98373_feedback_get(struct snd_kcontrol *kcontrol,
} }
} }
return snd_soc_put_volsw(kcontrol, ucontrol); return snd_soc_get_volsw(kcontrol, ucontrol);
} }
static const struct snd_kcontrol_new max98373_snd_controls[] = { static const struct snd_kcontrol_new max98373_snd_controls[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册