Skip to content

Commit 91191a6

Browse files
simontrimmertiwai
authored andcommitted
ALSA: hda: cs35l56: Don't use the device index as a calibration index
The HDA driver cannot assume that the order that the devices are specified in the cirrus,dev-index matches the order of calibration entries. Only a calibration entry with a matching silicon id will be used. Fixes: cfa43aa ("ALSA: hda: cs35l56: Apply amp calibration from EFI data") Signed-off-by: Simon Trimmer <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 32108c2 commit 91191a6

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
@@ -1003,7 +1003,7 @@ int cs35l56_hda_common_probe(struct cs35l56_hda *cs35l56, int hid, int id)
10031003
goto err;
10041004
}
10051005

1006-
cs35l56->base.cal_index = cs35l56->index;
1006+
cs35l56->base.cal_index = -1;
10071007

10081008
cs35l56_init_cs_dsp(&cs35l56->base, &cs35l56->cs_dsp);
10091009
cs35l56->cs_dsp.client_ops = &cs35l56_hda_client_ops;

0 commit comments

Comments
 (0)