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: 349dd23931 ("ASoC: max98373: don't access volatile registers in bias level off")
Signed-off-by: Judy Hsiao <judyhsiao@google.com>
Link: https://lore.kernel.org/r/20210127135620.1143942-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Judy Hsiao 2021-01-27 21:56:20 +08:00 committed by Mark Brown
parent 89e641ae64
commit ded055eea6
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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[] = {