From: Clemens Ladisch Date: Mon, 17 Sep 2007 07:34:59 +0000 (+0200) Subject: [ALSA] cmipci: fix version 37 detection X-Git-Tag: v2.6.24-rc1~832^2~66 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=6935e68877a875137ea3fe7b690b0bec6504b7ff;p=~andy%2Flinux [ALSA] cmipci: fix version 37 detection Use the proper value for the bit that identifies chip version 37. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 78a23984eac..751ff00bfec 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c @@ -2665,7 +2665,7 @@ static void __devinit query_chip(struct cmipci *cm) else cm->can_ac3_hw = 1; break; - case 1: + case CM_CHIP_037: cm->chip_version = 37; cm->can_ac3_hw = 1; break;