Skip to content

Commit 12d82c7

Browse files
rfvirgiltiwai
authored andcommitted
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 34e1b1b ("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 <[email protected]> Fixes: 34e1b1b ("ALSA: hda: cs35l56: Stop creating ALSA controls for firmware coefficients") Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 3beddef commit 12d82c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/cs35l56_hda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ static void cs35l56_hda_remove_controls(struct cs35l56_hda *cs35l56)
413413
}
414414

415415
static const struct cs_dsp_client_ops cs35l56_hda_client_ops = {
416-
.control_remove = hda_cs_dsp_control_remove,
416+
/* cs_dsp requires the client to provide this even if it is empty */
417417
};
418418

419419
static int cs35l56_hda_request_firmware_file(struct cs35l56_hda *cs35l56,

0 commit comments

Comments
 (0)