aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r--sound/soc/codecs/wm8962.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index b6fcdcc4341e..25b6baed3a29 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2405,13 +2405,13 @@ static int wm8962_add_widgets(struct snd_soc_codec *codec)
2405 struct wm8962_pdata *pdata = dev_get_platdata(codec->dev); 2405 struct wm8962_pdata *pdata = dev_get_platdata(codec->dev);
2406 struct snd_soc_dapm_context *dapm = &codec->dapm; 2406 struct snd_soc_dapm_context *dapm = &codec->dapm;
2407 2407
2408 snd_soc_add_controls(codec, wm8962_snd_controls, 2408 snd_soc_add_codec_controls(codec, wm8962_snd_controls,
2409 ARRAY_SIZE(wm8962_snd_controls)); 2409 ARRAY_SIZE(wm8962_snd_controls));
2410 if (pdata && pdata->spk_mono) 2410 if (pdata && pdata->spk_mono)
2411 snd_soc_add_controls(codec, wm8962_spk_mono_controls, 2411 snd_soc_add_codec_controls(codec, wm8962_spk_mono_controls,
2412 ARRAY_SIZE(wm8962_spk_mono_controls)); 2412 ARRAY_SIZE(wm8962_spk_mono_controls));
2413 else 2413 else
2414 snd_soc_add_controls(codec, wm8962_spk_stereo_controls, 2414 snd_soc_add_codec_controls(codec, wm8962_spk_stereo_controls,
2415 ARRAY_SIZE(wm8962_spk_stereo_controls)); 2415 ARRAY_SIZE(wm8962_spk_stereo_controls));
2416 2416
2417 2417