kernel_samsung_a53x/sound
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
..
ac97
aoa
arm
atmel
core Revert "ALSA: mixer_oss: Remove some incorrect kfree_const() usages" 2024-11-24 00:23:11 +01:00
drivers
firewire ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init() 2024-11-30 02:33:23 +01:00
hda ALSA: hda: Add input value sanity checks to HDMI channel map controls 2025-01-19 14:48:42 +01:00
i2c
isa
mips
oss/dmasound
parisc
pci ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 2025-01-19 14:53:29 +01:00
pcmcia
ppc
sh ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs 2024-11-19 09:22:42 +01:00
soc ASoC: topology: Properly initialize soc_enum values 2025-01-19 00:10:01 +01:00
sparc
spi
synth ALSA: emux: improve patch ioctl data validation 2024-11-19 14:19:32 +01:00
usb sound: usb: format: don't warn that raw DSD is unsupported 2025-01-15 16:29:56 +01:00
x86
xen
ac97_bus.c
Kconfig sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML 2024-11-30 02:33:27 +01:00
last.c
Makefile
sound_core.c