diff options
Diffstat (limited to 'sound/soc/codecs/wm8958-dsp2.c')
-rw-r--r-- | sound/soc/codecs/wm8958-dsp2.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8958-dsp2.c b/sound/soc/codecs/wm8958-dsp2.c index 40ac888faf3d..1332692ef81b 100644 --- a/sound/soc/codecs/wm8958-dsp2.c +++ b/sound/soc/codecs/wm8958-dsp2.c | |||
@@ -920,11 +920,11 @@ void wm8958_dsp2_init(struct snd_soc_codec *codec) | |||
920 | 920 | ||
921 | wm8994->dsp_active = -1; | 921 | wm8994->dsp_active = -1; |
922 | 922 | ||
923 | snd_soc_add_controls(codec, wm8958_mbc_snd_controls, | 923 | snd_soc_add_codec_controls(codec, wm8958_mbc_snd_controls, |
924 | ARRAY_SIZE(wm8958_mbc_snd_controls)); | 924 | ARRAY_SIZE(wm8958_mbc_snd_controls)); |
925 | snd_soc_add_controls(codec, wm8958_vss_snd_controls, | 925 | snd_soc_add_codec_controls(codec, wm8958_vss_snd_controls, |
926 | ARRAY_SIZE(wm8958_vss_snd_controls)); | 926 | ARRAY_SIZE(wm8958_vss_snd_controls)); |
927 | snd_soc_add_controls(codec, wm8958_enh_eq_snd_controls, | 927 | snd_soc_add_codec_controls(codec, wm8958_enh_eq_snd_controls, |
928 | ARRAY_SIZE(wm8958_enh_eq_snd_controls)); | 928 | ARRAY_SIZE(wm8958_enh_eq_snd_controls)); |
929 | 929 | ||
930 | 930 | ||
@@ -958,7 +958,7 @@ void wm8958_dsp2_init(struct snd_soc_codec *codec) | |||
958 | wm8994->mbc_enum.max = pdata->num_mbc_cfgs; | 958 | wm8994->mbc_enum.max = pdata->num_mbc_cfgs; |
959 | wm8994->mbc_enum.texts = wm8994->mbc_texts; | 959 | wm8994->mbc_enum.texts = wm8994->mbc_texts; |
960 | 960 | ||
961 | ret = snd_soc_add_controls(wm8994->codec, control, 1); | 961 | ret = snd_soc_add_codec_controls(wm8994->codec, control, 1); |
962 | if (ret != 0) | 962 | if (ret != 0) |
963 | dev_err(wm8994->codec->dev, | 963 | dev_err(wm8994->codec->dev, |
964 | "Failed to add MBC mode controls: %d\n", ret); | 964 | "Failed to add MBC mode controls: %d\n", ret); |
@@ -986,7 +986,7 @@ void wm8958_dsp2_init(struct snd_soc_codec *codec) | |||
986 | wm8994->vss_enum.max = pdata->num_vss_cfgs; | 986 | wm8994->vss_enum.max = pdata->num_vss_cfgs; |
987 | wm8994->vss_enum.texts = wm8994->vss_texts; | 987 | wm8994->vss_enum.texts = wm8994->vss_texts; |
988 | 988 | ||
989 | ret = snd_soc_add_controls(wm8994->codec, control, 1); | 989 | ret = snd_soc_add_codec_controls(wm8994->codec, control, 1); |
990 | if (ret != 0) | 990 | if (ret != 0) |
991 | dev_err(wm8994->codec->dev, | 991 | dev_err(wm8994->codec->dev, |
992 | "Failed to add VSS mode controls: %d\n", ret); | 992 | "Failed to add VSS mode controls: %d\n", ret); |
@@ -1015,7 +1015,7 @@ void wm8958_dsp2_init(struct snd_soc_codec *codec) | |||
1015 | wm8994->vss_hpf_enum.max = pdata->num_vss_hpf_cfgs; | 1015 | wm8994->vss_hpf_enum.max = pdata->num_vss_hpf_cfgs; |
1016 | wm8994->vss_hpf_enum.texts = wm8994->vss_hpf_texts; | 1016 | wm8994->vss_hpf_enum.texts = wm8994->vss_hpf_texts; |
1017 | 1017 | ||
1018 | ret = snd_soc_add_controls(wm8994->codec, control, 1); | 1018 | ret = snd_soc_add_codec_controls(wm8994->codec, control, 1); |
1019 | if (ret != 0) | 1019 | if (ret != 0) |
1020 | dev_err(wm8994->codec->dev, | 1020 | dev_err(wm8994->codec->dev, |
1021 | "Failed to add VSS HPFmode controls: %d\n", | 1021 | "Failed to add VSS HPFmode controls: %d\n", |
@@ -1045,7 +1045,7 @@ void wm8958_dsp2_init(struct snd_soc_codec *codec) | |||
1045 | wm8994->enh_eq_enum.max = pdata->num_enh_eq_cfgs; | 1045 | wm8994->enh_eq_enum.max = pdata->num_enh_eq_cfgs; |
1046 | wm8994->enh_eq_enum.texts = wm8994->enh_eq_texts; | 1046 | wm8994->enh_eq_enum.texts = wm8994->enh_eq_texts; |
1047 | 1047 | ||
1048 | ret = snd_soc_add_controls(wm8994->codec, control, 1); | 1048 | ret = snd_soc_add_codec_controls(wm8994->codec, control, 1); |
1049 | if (ret != 0) | 1049 | if (ret != 0) |
1050 | dev_err(wm8994->codec->dev, | 1050 | dev_err(wm8994->codec->dev, |
1051 | "Failed to add enhanced EQ controls: %d\n", | 1051 | "Failed to add enhanced EQ controls: %d\n", |