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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_auto_parser.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_auto_parser.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_beep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_beep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_bind.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_codec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_controller.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_controller.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_controller_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_eld.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_intel_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_jack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_jack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_local.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_proc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda_tegra.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp_x360_helper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ideapad_s740_helper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_analog.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_ca0110.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_ca0132.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_cirrus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_cmedia.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_sigmatel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch_via.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thinkpad_helper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00