diff options
| author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2026-06-26 11:47:22 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-06-29 12:38:48 +0200 |
| commit | c0933934d5d96fc641e8d0025f9099e554a7b47a (patch) | |
| tree | 08b5c2566fecebac22fd16f747a5fdf0f3ddc074 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 39edd6d5f6e751e3675bd4e436f168cdd4d03983 (diff) | |
ALSA: hda: Force resume if acomp notified during system suspend
Currently if an HDMI cable is connected while the system is suspended,
the HDMI audio jack status stays off after resume.
This is due to the jack state not being synced by the HDA HDMI codec
device's runtime resume, as that never happens if the device was runtime
suspended before the system suspended, or by the acomp notification
triggered from the DRM side if that happens before the HDA HDMI codec
device has resumed.
To fix this, if snd_hda_hdmi_acomp_pin_eld_notify() gets called before
the HDA HDMI codec device has resumed, mark it to be forcefully runtime
resumed at the next PM complete time.
Do this using a separate acomp_requested_resume flag that can be
temporarily set without overwriting forced_resume for drivers that
always want to force resume.
Assisted-by: Copilot:claude-sonnet-4.6
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://patch.msgid.link/20260626-hda-force-resume-eld-notify-v1-1-a92cb01393e0@collabora.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
