Browse Source

[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>
Clemens Ladisch 17 years ago
parent
commit
6935e68877
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/pci/cmipci.c

+ 1 - 1
sound/pci/cmipci.c

@@ -2665,7 +2665,7 @@ static void __devinit query_chip(struct cmipci *cm)
 			else
 			else
 				cm->can_ac3_hw = 1;
 				cm->can_ac3_hw = 1;
 			break;
 			break;
-		case 1:
+		case CM_CHIP_037:
 			cm->chip_version = 37;
 			cm->chip_version = 37;
 			cm->can_ac3_hw = 1;
 			cm->can_ac3_hw = 1;
 			break;
 			break;