Skip to content

Commit

Permalink
ALSA: hda: cs35l41: Remove redundant call to hda_cs_dsp_control_remove()
Browse files Browse the repository at this point in the history
The driver doesn't create any ALSA controls for firmware controls, so it
shouldn't be calling hda_cs_dsp_control_remove().

commit 312c04c ("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 <[email protected]>
Fixes: 312c04c ("ALSA: hda: cs35l41: Stop creating ALSA Controls for firmware coefficients")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
rfvirgil authored and tiwai committed Aug 13, 2024
1 parent 12d82c7 commit 8475a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/cs35l41_hda.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static const struct reg_sequence cs35l41_hda_mute[] = {
};

static const struct cs_dsp_client_ops client_ops = {
.control_remove = hda_cs_dsp_control_remove,
/* cs_dsp requires the client to provide this even if it is empty */
};

static int cs35l41_request_tuning_param_file(struct cs35l41_hda *cs35l41, char *tuning_filename,
Expand Down

0 comments on commit 8475a1d

Please sign in to comment.