diff options
author | Kai Vehmanen <[email protected]> | 2020-08-26 20:03:06 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-08-26 20:51:29 +0200 |
commit | 858e0ad9301d1270c02b5aca97537d2d6ee9dd68 (patch) | |
tree | f6dfcdce3fbb63579927cbdfaa921736320f7cb6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8bcea6cb2cbc1f749e574954569323dec5e2920e (diff) |
ALSA: hda/hdmi: always check pin power status in i915 pin fixup
When system is suspended with active audio playback to HDMI/DP, two
alternative sequences can happen at resume:
a) monitor is detected first and ALSA prepare follows normal
stream setup sequence, or
b) ALSA prepare is called first, but monitor is not yet detected,
so PCM is restarted without a pin,
In case of (b), on i915 systems, haswell_verify_D0() is not called at
resume and the pin power state may be incorrect. Result is lack of audio
after resume with no error reported back to user-space.
Fix the problem by always verifying converter and pin state in the
i915_pin_cvt_fixup().
BugLink: https://github.com/thesofproject/linux/issues/2388
Signed-off-by: Kai Vehmanen <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions