Skip to content

Commit e4808c6

Browse files
Shenghao-Dingtiwai
authored andcommitted
ALSA: hda/tas2781: Add tas2781_hda::catlog_id init
The default of tas2781_hda::catlog_id is DELL, which cause calibration data is not loaded in HP SPI-basded Laptop, because only HP laptop supports SPI-based TAS2781. Fixes: 9fa6a69 ("ALSA: hda/tas2781: Remove tas2781_spi_fwlib.c and leverage SND_SOC_TAS2781_FMWLIB") Signed-off-by: Shenghao Ding <shenghao-ding@ti.com> Link: https://patch.msgid.link/20260126031816.1123-1-shenghao-ding@ti.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent bfa514c commit e4808c6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,9 @@ static int tas2781_hda_bind(struct device *dev, struct device *master,
727727
if (!ret)
728728
comp->playback_hook = tas2781_hda_playback_hook;
729729

730+
/* Only HP Laptop support SPI-based TAS2781 */
731+
tas_hda->catlog_id = HP;
732+
730733
return ret;
731734
}
732735

0 commit comments

Comments
 (0)