Skip to contentSkip to conversation

ALSA: ca0106 MSI K8N Diamond MB spi_dac 2->1

PATCH In review Ben Stanley 2 participants 2 messages Dec 16, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: ca0106 MSI K8N Diamond MB spi_dac 2->1

Quoted 1 line

From fe2e6692ea6fcdf93d724b8aa48e7433994e011c Mon Sep 17 00:00:00 2001

From: Ben Stanley <[email protected]>
Date: Mon, 15 Dec 2008 23:38:12 +1100
Subject: [PATCH] ALSA: ca0106 MSI K8N Diamond MB spi_dac 2->1

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.

---
 pci/ca0106/ca0106_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
pci/ca0106/ca0106_main.c +1 -1
index 88fbf28..6ac1936 100644
@@ -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".
Signature · 1 line
1.5.4.3
#1 lore raw

At Wed, 17 Dec 2008 01:26:27 +1100,

Quoted 11 lines · Ben Stanley
Quoted 2 lines

From fe2e6692ea6fcdf93d724b8aa48e7433994e011c Mon Sep 17 00:00:00 2001

From: Ben Stanley <[email protected]>
Date: Mon, 15 Dec 2008 23:38:12 +1100
Subject: [PATCH] ALSA: ca0106 MSI K8N Diamond MB spi_dac 2->1

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.

Applied with some additional comments as there is an explicit check of spi_dac.

thanks,

Takashi

Quoted 27 lines
---
 pci/ca0106/ca0106_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
pci/ca0106/ca0106_main.c +1 -1
index 88fbf28..6ac1936 100644
@@ -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".
Signature · 8 lines
1.5.4.3



_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel