summaryrefslogtreecommitdiffstats
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-09-17 09:34:59 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 16:50:27 +0200
commit6935e68877a875137ea3fe7b690b0bec6504b7ff (patch)
tree3970a3e603cfb9455c4b6859b89e67e386c412b0 /sound/pci/cmipci.c
parentc818e0a152bcb138411b07f4495b8e6fb9bacf52 (diff)
[ALSA] cmipci: fix version 37 detection
Use the proper value for the bit that identifies chip version 37. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r--sound/pci/cmipci.c2
1 files changed, 1 insertions, 1 deletions
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;