From 071f7fed2581f7a3f2155d4b743660867f1b5b01 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Mon, 5 Mar 2012 11:38:46 +0100 Subject: [PATCH] --- yaml --- r: 293112 b: refs/heads/master c: e21af48583380ed9b5ca07b6dd962dbcd3748e0a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_realtek.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b88b2e8e2e61..e804acc31d66 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7c589750a70831b8cee3c10e01c297fefde104e3 +refs/heads/master: e21af48583380ed9b5ca07b6dd962dbcd3748e0a diff --git a/trunk/sound/pci/hda/patch_realtek.c b/trunk/sound/pci/hda/patch_realtek.c index 01179d53edcd..7e651682eece 100644 --- a/trunk/sound/pci/hda/patch_realtek.c +++ b/trunk/sound/pci/hda/patch_realtek.c @@ -686,7 +686,7 @@ static void alc_sku_unsol_event(struct hda_codec *codec, unsigned int res) else res >>= 26; action = snd_hda_jack_get_action(codec, res); - if (res == ALC_DCVOL_EVENT) { + if (action == ALC_DCVOL_EVENT) { /* Execute the dc-vol event here as it requires the NID * but we don't pass NID to alc_exec_unsol_event(). * Once when we convert all static quirks to the auto-parser,