[SRU] [OEM-5.6] [PATCH 0/1] Fix suspend error of SOF driver
Kai-Heng Feng
kai.heng.feng at canonical.com
Fri Dec 18 13:04:02 UTC 2020
BugLink: https://bugs.launchpad.net/bugs/1908713
[Impact]
SOF driver in oem-5.6 kernel tries to access HDA codec register when the
codec is already suspended. This may freeze suspend.
[Fix]
Revert HDA codec PM direct-complete optimization.
The same suspend optimization works perfectly on 5.8 and 5.10 kernel, so
something's wrong in the SOF driver in oem-5.6. However, SOF in oem-5.6
is in Frankenstein state so we better not touch it.
[Test]
Suspend a laptop with SOF driver, it can take 30 seconds to suspend, or
worse, it freezes.
With the patch applied, it can suspend in 1 second.
[Regression Risk]
For HDA codecs that benefit from this PM optimization, it'll take longer
to suspend and resume. Nothing else changes other than that.
Kai-Heng Feng (1):
Revert "ALSA: hda: Refactor codec PM to use direct-complete
optimization"
sound/pci/hda/hda_codec.c | 45 ++++++++++++++-------------------------
1 file changed, 16 insertions(+), 29 deletions(-)
--
2.29.2
More information about the kernel-team
mailing list