]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
ALSA: ca0106 MSI K8N Diamond MB spi_dac 2->1
authorBen Stanley <Ben.Stanley@exemail.com.au>
Mon, 15 Dec 2008 12:38:12 +0000 (23:38 +1100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 16 Dec 2008 14:33:54 +0000 (15:33 +0100)
This patch removes an inconsistency that became apparent when I
documented the fields of snd_ca0106_details. spi_dac is always
used in a 'boolean' sense, so this cleanup should make no difference.

[Actually, there is one place checking explicitly spi_dac == 1, so
 this will change the behavior.  But, supposing it's rather a typo,
 I apply this clean-up patch -- tiwai]

Signed-off-by: Ben Stanley <Ben.Stanley@exemail.com.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ca0106/ca0106_main.c

index 88fbf285d2b74ea6cf1ccc701398d0e730784840..6ac19364631bc2e27387540e94dfd60948b33c05 100644 (file)
@@ -254,7 +254,7 @@ static struct snd_ca0106_details ca0106_chip_details[] = {
           .name   = "MSI K8N Diamond MB",
           .gpio_type = 2,
           .i2c_adc = 1,
-          .spi_dac = 2 } ,
+          .spi_dac = 1 } ,
         /* Shuttle XPC SD31P which has an onboard Creative Labs
          * Sound Blaster Live! 24-bit EAX
          * high-definition 7.1 audio processor".