summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorMohamed Yassine Jebabli <med.jebabli@gmail.com>2026-11-03 10:27:12 +0100
committerTakashi Iwai <tiwai@suse.de>2026-11-05 08:54:46 +0100
commit8dbab764f1e0a92c3fac0ce070ce30c0c33c2692 (patch)
treefbf9f251357902c25671c18c17f467ccfb21062d /scripts/stackusage
parentcf79cc4996bf936fe159af2a600519b3ebd4ccb7 (diff)
ALSA: hda/tas2781: Only accept CRC-less V1 data if all entries are valid
Commit 408249089c48 ("ALSA: hda/tas2781: Accept V1 calibration data without CRC") only checked the first device entry. On machines where the BIOS populates fewer entries than p->ndev, the remaining all-zero entries are applied and tas2781_cali_preproc() divides by zero on playback open. Accept CRC-less V1 data only if every expected entry is non-zero and self-consistent (R0 * 1/R0 close to 1.0), otherwise reject it as before. Fixes: 408249089c48 ("ALSA: hda/tas2781: Accept V1 calibration data without CRC") Reported-by: Cristian Castellano <cristian.castellano@icloud.com> Closes: https://lore.kernel.org/all/4e500063-d985-46b6-a0a1-3feaa77c4b2f@leemhuis.info/ Cc: stable@vger.kernel.org Signed-off-by: Mohamed Yassine Jebabli <med.jebabli@gmail.com> Link: https://patch.msgid.link/20261103-tas2781-v1-nocrc-fix-v1-1-a769c27f21ce@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions