summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-01-10 14:24:02 +0100
committerMark Brown <broonie@kernel.org>2020-01-10 14:24:02 +0100
commita84188eced6109983af54f9435a26d21eac3f8cc (patch)
tree312b378008a90a61c8419837712e9465fa27c3d3
parentMerge branch 'for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/bro... (diff)
downloadlinux-a84188eced6109983af54f9435a26d21eac3f8cc.tar.xz
linux-a84188eced6109983af54f9435a26d21eac3f8cc.zip
ASoC: max98090: Drop incorrectly applied duplicate commit
This reverts commit 4e93c1294f4b051 (ASoC: max98090: fix incorrect helper in max98090_dapm_put_enum_double()) which was misapplied. Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/max98090.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index ba0e3ba162f8..454cb8e5b0a1 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -98,7 +98,7 @@ static int max98090_put_enum_double(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{
struct snd_soc_component *component =
- snd_soc_dapm_kcontrol_component(kcontrol);
+ snd_soc_kcontrol_component(kcontrol);
struct max98090_priv *max98090 =
snd_soc_component_get_drvdata(component);
int ret;