Public bug reported: [Impact] After the codec PM optimization, laptops with SOF may take very long to suspend. In addition to that, HDA may not be able to be runtim suspended again after resume from hibernation.
[Fix] Prevent the SOF driver touches codec during system suspend, and properly refcount the PM usage counter. [Test] On an affected SOF system, it takes 5 mins to suspend. On another affected HDA system, S4 resume causes high power consumption becuase HDA controller can't be runtime suspended. Both issues are gone by applying these patches. [Where problems could occur] If somehow any laptop depends on the old behavior to work properly, this can break them. It's highly unlikely though. ** Affects: hwe-next Importance: Undecided Status: New ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Affects: linux-oem-5.10 (Ubuntu) Importance: Undecided Status: Invalid ** Affects: linux (Ubuntu Focal) Importance: Undecided Status: Invalid ** Affects: linux-oem-5.10 (Ubuntu Focal) Importance: High Status: Confirmed ** Affects: linux (Ubuntu Groovy) Importance: High Status: Confirmed ** Affects: linux-oem-5.10 (Ubuntu Groovy) Importance: Undecided Status: Invalid ** Tags: oem-priority originate-from-1912602 ouagadougou ** Tags added: oem-priority originate-from-1912602 ouagadougou ** Also affects: linux-oem-5.10 (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: linux-oem-5.10 (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: linux-oem-5.10 (Ubuntu Groovy) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Focal) Status: New => Invalid ** Changed in: linux (Ubuntu Groovy) Status: New => Confirmed ** Changed in: linux-oem-5.10 (Ubuntu) Status: New => Invalid ** Changed in: linux-oem-5.10 (Ubuntu Groovy) Status: New => Invalid ** Changed in: linux-oem-5.10 (Ubuntu Focal) Status: New => Confirmed ** Changed in: linux (Ubuntu Groovy) Importance: Undecided => Critical ** Changed in: linux (Ubuntu Groovy) Importance: Critical => High ** Changed in: linux-oem-5.10 (Ubuntu Focal) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912676 Title: Fix regression introduced by codec PM change To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1912676/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs