Skip to content
Commit 294e6490 authored by Simon Trimmer's avatar Simon Trimmer Committed by Greg Kroah-Hartman
Browse files

ALSA: hda: cs35l56: Don't use the device index as a calibration index

[ Upstream commit 91191a6e50a2ff752da244493171037663536768 ]

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: cfa43aaa

 ("ALSA: hda: cs35l56: Apply amp calibration from EFI data")
Signed-off-by: default avatarSimon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20240821124711.44325-1-simont@opensource.cirrus.com
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 40ef8748
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment