[ALSA] cmipci: fix version 37 detection
Clemens Ladisch [Mon, 17 Sep 2007 07:34:59 +0000 (09:34 +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;