aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-09-17 03:34:59 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 10:50:27 -0400
commit6935e68877a875137ea3fe7b690b0bec6504b7ff (patch)
tree3970a3e603cfb9455c4b6859b89e67e386c412b0
parentc818e0a152bcb138411b07f4495b8e6fb9bacf52 (diff)
[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>
-rw-r--r--sound/pci/cmipci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 78a23984eac7..751ff00bfeca 100644
--- a/sound/pci/cmipci.c
+++ b/sound/pci/cmipci.c
@@ -2665,7 +2665,7 @@ static void __devinit query_chip(struct cmipci *cm)
2665 else 2665 else
2666 cm->can_ac3_hw = 1; 2666 cm->can_ac3_hw = 1;
2667 break; 2667 break;
2668 case 1: 2668 case CM_CHIP_037:
2669 cm->chip_version = 37; 2669 cm->chip_version = 37;
2670 cm->can_ac3_hw = 1; 2670 cm->can_ac3_hw = 1;
2671 break; 2671 break;