Pārlūkot izejas kodu

[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 gadi atpakaļ
vecāks
revīzija
6935e68877
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 				cm->can_ac3_hw = 1;
 			break;
-		case 1:
+		case CM_CHIP_037:
 			cm->chip_version = 37;
 			cm->can_ac3_hw = 1;
 			break;