From fab05699ad1828de6f1c8c18dde3e035ae2b4880 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 3 Jun 2013 11:17:38 +0200 Subject: [PATCH] --- yaml --- r: 376783 b: refs/heads/master c: 5a6f294e87974e6ec68d7113553ffd975d83bf15 h: refs/heads/master i: 376781: e2d6d07f5109b4a576081252b7014c1697110e9c 376779: 4cf16e8f75bfc10b78bed8722dd49aff3917e309 376775: e3743a507a7d603ebc63015bdf738801db2c2679 376767: e04ababe3ee8844a447d28176af2df99dae93275 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_via.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 961eb09bb916..f26a3ce389fb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 05909d5c679cf7c9a8a5bc663677c066a546894f +refs/heads/master: 5a6f294e87974e6ec68d7113553ffd975d83bf15 diff --git a/trunk/sound/pci/hda/patch_via.c b/trunk/sound/pci/hda/patch_via.c index a6c38568c9d5..e5245544eb52 100644 --- a/trunk/sound/pci/hda/patch_via.c +++ b/trunk/sound/pci/hda/patch_via.c @@ -484,7 +484,9 @@ static int via_suspend(struct hda_codec *codec) /* Fix pop noise on headphones */ int i; for (i = 0; i < spec->gen.autocfg.hp_outs; i++) - snd_hda_set_pin_ctl(codec, spec->gen.autocfg.hp_pins[i], 0); + snd_hda_codec_write(codec, spec->gen.autocfg.hp_pins[i], + 0, AC_VERB_SET_PIN_WIDGET_CONTROL, + 0x00); } return 0;