aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_via.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r--sound/pci/hda/patch_via.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 852939658ddb..f73c98638abd 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -1714,9 +1714,8 @@ static void via_gpio_control(struct hda_codec *codec)
1714static void via_unsol_event(struct hda_codec *codec, 1714static void via_unsol_event(struct hda_codec *codec,
1715 unsigned int res) 1715 unsigned int res)
1716{ 1716{
1717 snd_hda_jack_set_dirty_all(codec); /* FIXME: to be more fine-grained */
1718
1719 res >>= 26; 1717 res >>= 26;
1718 res = snd_hda_jack_get_action(codec, res);
1720 1719
1721 if (res & VIA_JACK_EVENT) 1720 if (res & VIA_JACK_EVENT)
1722 set_widgets_power_state(codec); 1721 set_widgets_power_state(codec);