kernel_samsung_a53x/sound/pci
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
ali5451
asihpi Revert "ALSA: asihpi: Fix potential OOB array access" 2024-11-24 00:23:07 +01:00
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 2025-01-19 14:53:29 +01:00
ice1712
korg1212
lola
lx6464es
mixart
nm256
oxygen ALSA: oxygen: Fix right channel of capture volume mixer 2024-11-18 12:12:47 +01:00
pcxhr
riptide
rme9652 Revert "ALSA: hdsp: Break infinite MIDI input flush loop" 2024-11-24 00:23:07 +01:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c