Commit d1454e6f authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown

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: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent cf1ff501
...@@ -185,8 +185,8 @@ static const SOC_ENUM_SINGLE_DECL(filter_mode, WM8985_ADC_CONTROL, 7, ...@@ -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 *eq_bw_text[] = { "Narrow", "Wide" };
static const char *eqmode_text[] = { "Capture", "Playback" }; static const char *eqmode_text[] = { "Capture", "Playback" };
static const SOC_ENUM_SINGLE_DECL(eqmode, WM8985_EQ1_LOW_SHELF, 8, static const SOC_ENUM_SINGLE_EXT_DECL(eqmode, eqmode_text);
eqmode_text);
static const char *eq1_cutoff_text[] = { static const char *eq1_cutoff_text[] = {
"80Hz", "105Hz", "135Hz", "175Hz" "80Hz", "105Hz", "135Hz", "175Hz"
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment