To turn off pin control for the pin was tested, and helped against this issue.
BugLink: https://bugs.launchpad.net/bugs/1034779 Tested-by: Chih-Hsyuan Ho <email address hidden> Signed-off-by: David Henningsson <email address hidden> --- sound/pci/hda/patch_via.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Alsa-info at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1034779/+attachment/3254105/+files/asus-x55a-alsa-info.log
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 80d90cb..c9484fe 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -1752,6 +1752,14 @@ static int via_suspend(struct hda_codec *codec) { struct via_spec *spec = codec->spec; vt1708_stop_hp_work(spec); + + if (spec->codec_type == VT1802) { + /* Fix pop noise on headphones */ + int i; + for (i = 0; i < spec->autocfg.hp_outs; i++) + snd_hda_set_pin_ctl(codec, spec->autocfg.hp_pins[i], 0); + } + return 0; } #endif -- 1.7.9.5
To turn off pin control for the pin was tested, and helped against
this issue.
BugLink: https:/ /bugs.launchpad .net/bugs/ 1034779 pci/hda/ patch_via. c | 8 ++++++++
Tested-by: Chih-Hsyuan Ho <email address hidden>
Signed-off-by: David Henningsson <email address hidden>
---
sound/
1 file changed, 8 insertions(+)
Alsa-info at: https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1034779/ +attachment/ 3254105/ +files/ asus-x55a- alsa-info. log
diff --git a/sound/ pci/hda/ patch_via. c b/sound/ pci/hda/ patch_via. c pci/hda/ patch_via. c pci/hda/ patch_via. c stop_hp_ work(spec) ; hp_outs; i++) set_pin_ ctl(codec, spec->autocfg. hp_pins[ i], 0);
index 80d90cb..c9484fe 100644
--- a/sound/
+++ b/sound/
@@ -1752,6 +1752,14 @@ static int via_suspend(struct hda_codec *codec)
{
struct via_spec *spec = codec->spec;
vt1708_
+
+ if (spec->codec_type == VT1802) {
+ /* Fix pop noise on headphones */
+ int i;
+ for (i = 0; i < spec->autocfg.
+ snd_hda_
+ }
+
return 0;
}
#endif
--
1.7.9.5