From 6935e68877a875137ea3fe7b690b0bec6504b7ff Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 17 Sep 2007 09:34:59 +0200 Subject: [PATCH] [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 --- sound/pci/cmipci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 78a23984eac7..751ff00bfeca 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;