From: Takashi Iwai <tiwai@suse.de>
Date: Fri, 27 Feb 2009 16:36:33 +0000 (+0100)
Subject: ALSA: hda - Fix digital mic on dell-m4-1 and dell-m4-3
X-Git-Tag: v2.6.29-rc7~11^2~2
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ea18aa464452c3e6550320d247c0306aaa2d156f;p=linux.git

ALSA: hda - Fix digital mic on dell-m4-1 and dell-m4-3

Fix num_dmuxes initialization for dell-m4-1 and dell-m4-3 models
of IDT 92HD71bxx codec, which was wrongly set to zero.

Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 8027edf3c8f2..3bc427645da8 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4989,7 +4989,7 @@ again:
 	case STAC_DELL_M4_3:
 		spec->num_dmics = 1;
 		spec->num_smuxes = 0;
-		spec->num_dmuxes = 0;
+		spec->num_dmuxes = 1;
 		break;
 	default:
 		spec->num_dmics = STAC92HD71BXX_NUM_DMICS;