kernel_samsung_a53x/sound/pci
Takashi Iwai 3b7b13e567 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>
2024-11-23 23:20:56 +01:00
..
ac97 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ali5451 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asihpi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
au88x0 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aw2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ca0106 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs46xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs5535audio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ctxfi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
echoaudio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
emu10k1 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hda ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 2024-11-23 23:20:56 +01:00
ice1712 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
korg1212 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lola Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lx6464es Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mixart Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nm256 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
oxygen ALSA: oxygen: Fix right channel of capture volume mixer 2024-11-18 12:12:47 +01:00
pcxhr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
riptide Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rme9652 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trident Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vx222 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ymfpci Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ad1889.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ad1889.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ak4531_codec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
als300.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
als4000.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atiixp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atiixp_modem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
azt3328.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
azt3328.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bt87x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmipci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs4281.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs5530.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ens1370.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ens1371.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
es1938.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
es1968.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fm801.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel8x0.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel8x0m.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maestro3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rme32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rme96.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sis7019.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sis7019.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sonicvibes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
via82xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
via82xx_modem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00