]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda - Mute headphone pin on suspend on XPS13 9333
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Sun, 19 Apr 2015 17:00:40 +0000 (19:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Apr 2015 07:15:07 +0000 (09:15 +0200)
commit9476d369d7b39348945c297da5f2935904229813
treee9bfd6650024d7786324a180c395d3c2270dbb0f
parentbc26d4d06e337ade069f33d3f4377593b24e6e36
ALSA: hda - Mute headphone pin on suspend on XPS13 9333

Muting the headphone output pin right before the codec suspension
prevents pop noises when headphones are plugged in (except for a
barely audible click noise).
This solution allows to truly save some power when headphones are
plugged in unlike the previous solution (033b0a7ca9c:
"ALSA: hda - Pop noises fix for XPS13 9333")

Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c