From: Dimitris Papastamos Date: Mon, 27 Sep 2010 10:16:30 +0000 (+0100) Subject: ASoC: WM8985: Use the correct macro for the kcontrol defined X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1454e6fbdf01056834018cfd12f9a066cfc0dd7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: WM8985: Use the correct macro for the kcontrol defined Since we are using custom get/put handlers use SOC_ENUM_SINGLE_EXT_DECL instead of the original SOC_ENUM_SINGLE_DECL macro. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c index 6658c9440e04..6116b4203a23 100644 --- a/sound/soc/codecs/wm8985.c +++ b/sound/soc/codecs/wm8985.c @@ -185,8 +185,8 @@ static const SOC_ENUM_SINGLE_DECL(filter_mode, WM8985_ADC_CONTROL, 7, static const char *eq_bw_text[] = { "Narrow", "Wide" }; static const char *eqmode_text[] = { "Capture", "Playback" }; -static const SOC_ENUM_SINGLE_DECL(eqmode, WM8985_EQ1_LOW_SHELF, 8, - eqmode_text); +static const SOC_ENUM_SINGLE_EXT_DECL(eqmode, eqmode_text); + static const char *eq1_cutoff_text[] = { "80Hz", "105Hz", "135Hz", "175Hz" };