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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.26.2




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux