]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/tas2781: Set tas2781_hda::tasdevice_priv::chip_id as TAS5825 in case of...
authorShenghao Ding <shenghao-ding@ti.com>
Mon, 13 Oct 2025 04:35:55 +0000 (12:35 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2025 07:39:27 +0000 (09:39 +0200)
commit66233e583d1e00b1742d1ba36ae31568109ba6bd
tree28aef1f4c06f6a7f31343f15ab256c3e07561e8e
parent5ec6f9434225e18496a393f920b03eb46d67d71d
ALSA: hda/tas2781: Set tas2781_hda::tasdevice_priv::chip_id as TAS5825 in case of tas5825

The software reset for TAS5825 is different form other chips, as it will
set as 0x11 instead of 0x1 during reset in the tasdevice_reset(). So set
tas2781_hda::tasdevice_priv::chip_id as TAS5825, tasdevice_reset() can
work correctly.

Fixes: 7ceb69ca82b1 ("ASoC: tas2781: Add tas2118, tas2x20, tas5825 support")
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c