From: Richard Fitzgerald Date: Mon, 3 Oct 2016 10:40:38 +0000 (+0100) Subject: ASoC: wm_adsp: Remove duplicate set of kcontrol->iface X-Git-Tag: v4.14-rc1~1892^2~3^2~13^3~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90554f2e2d53f80fb6200e277d5a20884531e945;p=platform%2Fkernel%2Flinux-rpi.git ASoC: wm_adsp: Remove duplicate set of kcontrol->iface Signed-off-by: Richard Fitzgerald Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index b943dde..7320fca 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) 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;