Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90554f2e authored by Richard Fitzgerald's avatar Richard Fitzgerald Committed by Mark Brown
Browse files

ASoC: wm_adsp: Remove duplicate set of kcontrol->iface

parent 1001354c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;