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
parent[ALSA] bt87x: fix detection of generic boards (diff)
downloadlinux-6935e68877a875137ea3fe7b690b0bec6504b7ff.tar.xz
linux-6935e68877a875137ea3fe7b690b0bec6504b7ff.zip
[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 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;