Title: [5316] branches/2008R1/sound/soc/blackfin: patch[#4431]apply patch from Brian Wenholz
Revision
5316
Author
cliff
Date
2008-09-19 04:35:06 -0500 (Fri, 19 Sep 2008)

Log Message

patch[#4431]apply patch from Brian Wenholz

Modified Paths

Diff

Modified: branches/2008R1/sound/soc/blackfin/Kconfig (5315 => 5316)


--- branches/2008R1/sound/soc/blackfin/Kconfig	2008-09-19 00:57:37 UTC (rev 5315)
+++ branches/2008R1/sound/soc/blackfin/Kconfig	2008-09-19 09:35:06 UTC (rev 5316)
@@ -51,6 +51,16 @@
 	help
 	  Say Y if you want to add support for SoC audio on BF527-EZKIT.
 
+config SND_BF5XX_SOC_SSM2602_ADDR
+	hex "I2c address to SSM2602 on a BF527"
+	default 0x1b
+	range 0x1a 0x1b
+	depends on SND_BF5XX_SOC_SSM2602
+	help
+	  Set the address of the SSM 2602 to 0x1a or 0x1b based on the power-up condition
+	  on CSB where CSB high at startup is 0x1b.
+	  
+	  Defaults to 0x1b matching the BF527_EZKIT hardware.
 
 config SND_BF5XX_SOC_BF5xx
 	tristate "SoC AC97 Audio support for BF5xx"

Modified: branches/2008R1/sound/soc/blackfin/bf5xx-ssm2602.c (5315 => 5316)


--- branches/2008R1/sound/soc/blackfin/bf5xx-ssm2602.c	2008-09-19 00:57:37 UTC (rev 5315)
+++ branches/2008R1/sound/soc/blackfin/bf5xx-ssm2602.c	2008-09-19 09:35:06 UTC (rev 5316)
@@ -160,7 +160,7 @@
  */
 
 static struct ssm2602_setup_data bf5xx_ssm2602_setup = {
-	.i2c_address = 0x1b,
+	.i2c_address = CONFIG_SND_BF5XX_SOC_SSM2602_ADDR,
 };
 
 static struct snd_soc_machine bf5xx_ssm2602 = {
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to