summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBob Song <songxiebing@kylinos.cn>2026-07-30 09:53:01 +0800
committerTakashi Iwai <tiwai@suse.de>2026-07-30 11:32:56 +0200
commit5b106b40ed22098f2bc049efb645148d038444bd (patch)
treeac15e5962af7329a1e99f83d4aca75e78636bf19 /tools/perf/scripts/python/bin/stackcollapse-report
parent494978ae8243d28dd0fe7b160591158a3a8c45b1 (diff)
ALSA: hda/realtek: add missing error checks for COEF index reads in alc269
alc_read_coef_idx() and alc_read_coefex_idx() can return -1 on error via snd_hda_codec_read(). Several codec initialization and shutdown functions save these return values and later write them back to hardware registers without checking for errors, potentially corrupting COEF register state on a read failure. Add error checks in: - alc282_init() and alc282_shutup(): check coef78 before write-back - alc285_hp_init(): check coef38/coef0d/coef36 before update, check val before write-back, and break polling loop on error - alc294_hp_init(): break polling loop on read error Signed-off-by: Bob Song <songxiebing@kylinos.cn> Link: https://patch.msgid.link/20260730015302.253008-1-songxiebing@kylinos.cn Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions