]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/tas2781: Fix incorrect bit update for non-book-zero or book 0 pages >1
authorShenghao Ding <shenghao-ding@ti.com>
Wed, 29 Apr 2026 05:42:06 +0000 (13:42 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Apr 2026 05:51:17 +0000 (07:51 +0200)
commite052a1f7199260eda4d6ca08a59c3b98738f8491
treec5d97c6c4671d44037e8707cf75b1f8f6126c42a
parent90df4957a3271adf391b3432cd76a40887cf3273
ALSA: hda/tas2781: Fix incorrect bit update for non-book-zero or book 0 pages >1

In TAS2781 SPI mode, when accessing non-book-zero or page numbers greater
than 1 in book 0, an additional byte must be read. The first byte in such
cases is a dummy byte and should be ignored.

Fixes: 9fa6a693ad8d ("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/20260429054206.429-1-shenghao-ding@ti.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/side-codecs/tas2781_hda_spi.c