Title: [5317] trunk/sound/soc/blackfin: patch[#4431]apply patch from Brian Wenholz
- Revision
- 5317
- Author
- cliff
- Date
- 2008-09-19 04:45:33 -0500 (Fri, 19 Sep 2008)
Log Message
patch[#4431]apply patch from Brian Wenholz
Modified Paths
Diff
Modified: trunk/sound/soc/blackfin/Kconfig (5316 => 5317)
--- trunk/sound/soc/blackfin/Kconfig 2008-09-19 09:35:06 UTC (rev 5316)
+++ trunk/sound/soc/blackfin/Kconfig 2008-09-19 09:45:33 UTC (rev 5317)
@@ -17,6 +17,17 @@
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_AC97
tristate "SoC AC97 Audio for the ADI BF5xx chip"
depends on BLACKFIN && SND_SOC
Modified: trunk/sound/soc/blackfin/bf5xx-ssm2602.c (5316 => 5317)
--- trunk/sound/soc/blackfin/bf5xx-ssm2602.c 2008-09-19 09:35:06 UTC (rev 5316)
+++ trunk/sound/soc/blackfin/bf5xx-ssm2602.c 2008-09-19 09:45:33 UTC (rev 5317)
@@ -139,7 +139,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