]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: cs35l56: Remove redundant call to hda_cs_dsp_control_remove()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 13 Aug 2024 11:07:50 +0000 (12:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Aug 2024 11:18:49 +0000 (13:18 +0200)
commit12d82c7b0a612372f594e4ff00983a1da3a1d929
tree66d27f7977ab3ecd4c1c695a68650b74ffcbb19e
parent3beddef84d90590270465a907de1cfe2539ac70d
ALSA: hda: cs35l56: Remove redundant call to hda_cs_dsp_control_remove()

The driver doesn't create any ALSA controls for firmware controls, so it
shouldn't be calling hda_cs_dsp_control_remove().

commit 34e1b1bb7324 ("ALSA: hda: cs35l56: Stop creating ALSA controls for
firmware coefficients") removed the call to hda_cs_dsp_add_controls() but
didn't remove the call for destroying those controls.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 34e1b1bb7324 ("ALSA: hda: cs35l56: Stop creating ALSA controls for firmware coefficients")
Link: https://patch.msgid.link/20240813110750.2814-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l56_hda.c