diff options
-rw-r--r-- | sound/soc/codecs/wm9081.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c index b2d34483a6a4..2b6a75ce3f52 100644 --- a/sound/soc/codecs/wm9081.c +++ b/sound/soc/codecs/wm9081.c | |||
@@ -1248,8 +1248,6 @@ static int wm9081_probe(struct snd_soc_codec *codec) | |||
1248 | snd_soc_write(codec, WM9081_ANALOGUE_SPEAKER_PGA, | 1248 | snd_soc_write(codec, WM9081_ANALOGUE_SPEAKER_PGA, |
1249 | reg | WM9081_SPKPGAZC); | 1249 | reg | WM9081_SPKPGAZC); |
1250 | 1250 | ||
1251 | snd_soc_add_controls(codec, wm9081_snd_controls, | ||
1252 | ARRAY_SIZE(wm9081_snd_controls)); | ||
1253 | if (!wm9081->pdata.num_retune_configs) { | 1251 | if (!wm9081->pdata.num_retune_configs) { |
1254 | dev_dbg(codec->dev, | 1252 | dev_dbg(codec->dev, |
1255 | "No ReTune Mobile data, using normal EQ\n"); | 1253 | "No ReTune Mobile data, using normal EQ\n"); |
@@ -1309,6 +1307,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9081 = { | |||
1309 | .reg_cache_default = wm9081_reg_defaults, | 1307 | .reg_cache_default = wm9081_reg_defaults, |
1310 | .volatile_register = wm9081_volatile_register, | 1308 | .volatile_register = wm9081_volatile_register, |
1311 | 1309 | ||
1310 | .controls = wm9081_snd_controls, | ||
1311 | .num_controls = ARRAY_SIZE(wm9081_snd_controls), | ||
1312 | .dapm_widgets = wm9081_dapm_widgets, | 1312 | .dapm_widgets = wm9081_dapm_widgets, |
1313 | .num_dapm_widgets = ARRAY_SIZE(wm9081_dapm_widgets), | 1313 | .num_dapm_widgets = ARRAY_SIZE(wm9081_dapm_widgets), |
1314 | .dapm_routes = wm9081_audio_paths, | 1314 | .dapm_routes = wm9081_audio_paths, |