Skip to content

Commit 4f61c8f

Browse files
committed
ALSA: hda/conexant: Mute speakers at suspend / shutdown
Use the new helper to mute speakers at suspend / shutdown for avoiding click noises. Link: https://bugzilla.suse.com/show_bug.cgi?id=1228269 Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 6cd23b2 commit 4f61c8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/pci/hda/patch_conexant.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ static void cx_auto_shutdown(struct hda_codec *codec)
205205
{
206206
struct conexant_spec *spec = codec->spec;
207207

208+
snd_hda_gen_shutup_speakers(codec);
209+
208210
/* Turn the problematic codec into D3 to avoid spurious noises
209211
from the internal speaker during (and after) reboot */
210212
cx_auto_turn_eapd(codec, spec->num_eapds, spec->eapds, false);

0 commit comments

Comments
 (0)