ASoC: max98090: Drop incorrectly applied duplicate commit
authorMark Brown <broonie@kernel.org>
Fri, 10 Jan 2020 13:24:02 +0000 (13:24 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jan 2020 13:24:02 +0000 (13:24 +0000)
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>
sound/soc/codecs/max98090.c

index ba0e3ba162f8fd193f21772d8cd0cbfdf384a3a0..454cb8e5b0a1669a934aa26a2133dc6c549c54e6 100644 (file)
@@ -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;