[PATCH 0/1][SRU][OEM-5.6] Fix broken MSI interrupt after HDA controller was suspended

AceLan Kao acelan.kao at canonical.com
Thu Oct 15 09:31:58 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1899586

[Impact]
After HDA controller gets suspended and resumed, no MSI interrupt raised
when plugging headset to the audio jack.
This commit has been CC'ed stable, so we only have to cherry pick this
commit to OEM-5.6 kernel.

[Fix]
Power up the Realtek codec when HDA controller runtime resumes.

[Test]
1) Make sure both codec and HDA controller are runtime suspended.
2) Runtime resume the HDA controller without runtime resume the codec.
3) Plug a headset and see if the system can detect anything.

With the fix applied, we can see azx_interrupt() is working again by
using ftrace.

[Regression Potential]
If there's any system that is not affected by this issue, runtime-resume
the HDA controller will take a slightly longer time. It's rather
unlikely, since _all_ systems with Realtek codec we tested have this
issue, regardless of AMD or Intel.

Hui Wang (1):
  ALSA: hda - let hs_mic be picked ahead of hp_mic

 sound/pci/hda/hda_auto_parser.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.25.1




More information about the kernel-team mailing list