浏览代码

[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 年之前
父节点
当前提交
6935e68877
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;