ASoC: wm_adsp: Remove duplicate set of kcontrol->iface
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Mon, 3 Oct 2016 10:40:38 +0000 (11:40 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 21 Oct 2016 11:02:36 +0000 (12:02 +0100)
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c

index b943dde8dbe594c382ac588f71d1dc90890421b5..7320fcacd86af4471a0dfa3bb07b9ffc7d37fbcb 100644 (file)
@@ -967,7 +967,6 @@ static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl)
        kcontrol = kzalloc(sizeof(*kcontrol), GFP_KERNEL);
        if (!kcontrol)
                return -ENOMEM;
-       kcontrol->iface = SNDRV_CTL_ELEM_IFACE_MIXER;
 
        kcontrol->name = ctl->name;
        kcontrol->info = wm_coeff_info;