kernel_samsung_a53x/sound/pci/hda
Takashi Iwai 8c49073355 ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown
[ Upstream commit 6cd23b26b348fa52c88e1adf9c0e48d68e13f95e ]

Some devices indicate click noises at suspend or shutdown when the
speakers are unmuted.  This patch adds a helper,
snd_hda_gen_shutup_speakers(), to work around it.  The new function is
supposed to be called at suspend or shutdown by the codec driver, and
it mutes the speakers.

The mute status isn't cached, hence the original mute state will be
restored at resume again.

Link: https://patch.msgid.link/20240726142625.2460-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-19 14:53:29 +01:00
..
ca0132_regs.h
hda_auto_parser.c
hda_auto_parser.h
hda_beep.c
hda_beep.h
hda_bind.c
hda_codec.c
hda_controller.c
hda_controller.h
hda_controller_trace.h
hda_eld.c
hda_generic.c ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 2025-01-19 14:53:29 +01:00
hda_generic.h ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 2025-01-19 14:53:29 +01:00
hda_hwdep.c
hda_intel.c Revert "PCI: Add function 0 DMA alias quirk for Glenfly Arise chip" 2024-11-24 00:22:58 +01:00
hda_intel.h
hda_intel_trace.h
hda_jack.c
hda_jack.h
hda_local.h
hda_proc.c
hda_sysfs.c
hda_tegra.c
hp_x360_helper.c
ideapad_s740_helper.c
Kconfig
Makefile
patch_analog.c
patch_ca0110.c
patch_ca0132.c
patch_cirrus.c
patch_cmedia.c
patch_conexant.c ALSA: hda/conexant: Mute speakers at suspend / shutdown 2025-01-19 14:53:29 +01:00
patch_hdmi.c ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4 2024-11-23 23:20:27 +01:00
patch_realtek.c ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG) 2024-12-17 13:24:28 +01:00
patch_si3054.c
patch_sigmatel.c
patch_via.c
thinkpad_helper.c