ALSA: hda: cs35l41: Remove redundant call to hda_cs_dsp_control_remove()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 13 Aug 2024 11:32:09 +0000 (12:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Aug 2024 11:43:00 +0000 (13:43 +0200)
commit8475a1d9bb7acf1cb15842dd24baab0e8ea4e4ff
tree24850f162c96ed77aee5574cce6ca55cf76ce3d2
parent12d82c7b0a612372f594e4ff00983a1da3a1d929
ALSA: hda: cs35l41: 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 312c04cee408 ("ALSA: hda: cs35l41: 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: 312c04cee408 ("ALSA: hda: cs35l41: Stop creating ALSA Controls for firmware coefficients")
Link: https://patch.msgid.link/20240813113209.648-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda.c