aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-03-10 12:28:08 +0100
committerTakashi Iwai <[email protected]>2021-03-10 12:51:49 +0100
commit5ff9dde42e8c72ed8102eb8cb62e03f9dc2103ab (patch)
tree451a4f338bb74e31b80429e171ceabe832249b02 /lib/mpi/mpiutil.c
parent13661fc48461282e43fe8f76bf5bf449b3d40687 (diff)
ALSA: hda: Avoid spurious unsol event handling during S3/S4
When HD-audio bus receives unsolicited events during its system suspend/resume (S3 and S4) phase, the controller driver may still try to process events although the codec chips are already (or yet) powered down. This might screw up the codec communication, resulting in CORB/RIRB errors. Such events should be rather skipped, as the codec chip status such as the jack status will be fully refreshed at the system resume time. Since we're tracking the system suspend/resume state in codec power.power_state field, let's add the check in the common unsol event handler entry point to filter out such events. BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1182377 Tested-by: Abhishek Sahu <[email protected]> Cc: <[email protected]> # 183ab39eb0ea: ALSA: hda: Initialize power_state Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions