aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2016-10-03 06:40:38 -0400
committerMark Brown <broonie@kernel.org>2016-10-21 07:02:36 -0400
commit90554f2e2d53f80fb6200e277d5a20884531e945 (patch)
tree4cb784f3489ef06ff9b1a647159dbc27a09b5d09
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ASoC: wm_adsp: Remove duplicate set of kcontrol->iface
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/wm_adsp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index b943dde8dbe5..7320fcacd86a 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -967,7 +967,6 @@ static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl)
967 kcontrol = kzalloc(sizeof(*kcontrol), GFP_KERNEL); 967 kcontrol = kzalloc(sizeof(*kcontrol), GFP_KERNEL);
968 if (!kcontrol) 968 if (!kcontrol)
969 return -ENOMEM; 969 return -ENOMEM;
970 kcontrol->iface = SNDRV_CTL_ELEM_IFACE_MIXER;
971 970
972 kcontrol->name = ctl->name; 971 kcontrol->name = ctl->name;
973 kcontrol->info = wm_coeff_info; 972 kcontrol->info = wm_coeff_info;