summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-01-10 13:24:02 +0000
committerMark Brown <broonie@kernel.org>2020-01-10 13:24:02 +0000
commita84188eced6109983af54f9435a26d21eac3f8cc (patch)
tree312b378008a90a61c8419837712e9465fa27c3d3 /sound/soc
parent23534b197159dd07d3e02d4afd7fca3243d30bce (diff)
downloadlinux-a84188eced6109983af54f9435a26d21eac3f8cc.tar.bz2
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>
Diffstat (limited to 'sound/soc')
-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;