Skip to content

Commit 786ea2b

Browse files
rfvirgiltiwai
authored andcommitted
ALSA: hda: cs35l56: Remove unnecessary struct cs_dsp_client_ops
Since commit af37511 ("firmware: cs_dsp: Don't require client to provide a struct cs_dsp_client_ops") the client doesn't have to provide a struct cs_dsp_client_ops. So remove the dummy cs_dsp_client_ops. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20260226124115.1811187-1-rf@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 1a7ba00 commit 786ea2b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

sound/hda/codecs/side-codecs/cs35l56_hda.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,10 +403,6 @@ static void cs35l56_hda_remove_controls(struct cs35l56_hda *cs35l56)
403403
snd_ctl_remove(cs35l56->codec->card, cs35l56->volume_ctl);
404404
}
405405

406-
static const struct cs_dsp_client_ops cs35l56_hda_client_ops = {
407-
/* cs_dsp requires the client to provide this even if it is empty */
408-
};
409-
410406
static int cs35l56_hda_request_firmware_file(struct cs35l56_hda *cs35l56,
411407
const struct firmware **firmware, char **filename,
412408
const char *base_name, const char *system_name,
@@ -1149,7 +1145,6 @@ int cs35l56_hda_common_probe(struct cs35l56_hda *cs35l56, int hid, int id)
11491145
cs35l56->base.cal_index = cs35l56->index;
11501146

11511147
cs35l56_init_cs_dsp(&cs35l56->base, &cs35l56->cs_dsp);
1152-
cs35l56->cs_dsp.client_ops = &cs35l56_hda_client_ops;
11531148

11541149
if (cs35l56->base.reset_gpio) {
11551150
dev_dbg(cs35l56->base.dev, "Hard reset\n");

0 commit comments

Comments
 (0)