Skip to content

ALSA: hda: Forcibly suspend codec at shutdown

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: hda: conexant: Turn off EAPD at suspend, toosound/pci/hda/patch_conexant.c+15 -10 replies
2/3ALSA: hda: Suspend codec at shutdownsound/pci/hda/hda_bind.c sound/pci/hda/hda_codec.c sound/pci/hda/hda_local.h+17 -70 replies
3/3ALSA: hda: Nuke unused reboot_notify callbackinclude/sound/hda_codec.h sound/pci/hda/hda_generic.c sound/pci/hda/hda_generic.h +5 more+1 -500 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ALSA: hda: Forcibly suspend codec at shutdown

Hi,

this is a patch set for fixing the issue at shutdown/reboot with HD-audio. The recent regression report brought me to check the shutdown code execution and it turned out that we don't do right for the codec shutdown while powering off the controller side. As a simple but big-hammer solution, this changes the codec driver's shutdown callback to forcibly (runtime-)suspend. It assures the proper power-off and the mute, as done at the usual suspend/resume.

Currently my plan is to apply this for 5.15, as the impact is significant and it's a bit too late for 5.14 shortly before the final.

Takashi

===

Takashi Iwai (3):
ALSA: hda: conexant: Turn off EAPD at suspend, too
ALSA: hda: Suspend codec at shutdown
ALSA: hda: Nuke unused reboot_notify callback

 include/sound/hda_codec.h      |  1 -
 sound/pci/hda/hda_bind.c       |  8 +-------
 sound/pci/hda/hda_codec.c      | 14 ++++++++++++++
 sound/pci/hda/hda_generic.c    | 19 -------------------
 sound/pci/hda/hda_generic.h    |  1 -
 sound/pci/hda/hda_local.h      |  2 ++
 sound/pci/hda/patch_analog.c   |  1 -
 sound/pci/hda/patch_ca0132.c   |  6 ------
 sound/pci/hda/patch_conexant.c | 15 +++++++++++----
 sound/pci/hda/patch_realtek.c  | 13 -------------
 sound/pci/hda/patch_sigmatel.c |  1 -
 11 files changed, 28 insertions(+), 53 deletions(-)
Signature · 1 line
2.26.2