[ALSA] cmipci: fix version 37 detection
authorClemens Ladisch <clemens@ladisch.de>
Mon, 17 Sep 2007 07:34:59 +0000 (09:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:50:27 +0000 (16:50 +0200)
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>
sound/pci/cmipci.c

index 78a2398..751ff00 100644 (file)
@@ -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;