[alsa-devel] [PATCH] ASoC: Convert tlv320aic3x to a new-style i2c driver

Jarkko Nikula jarkko.nikula at nokia.com
Mon Sep 1 13:31:14 CEST 2008


On Mon, 1 Sep 2008 11:21:31 +0200
"ext Jean Delvare" <khali at linux-fr.org> wrote:

> Convert the tlv320aic3x codec driver to the new (standard) device
> driver binding model.
> 
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> Cc: Vladimir Barinov <vbarinov at ru.mvista.com>
> Cc: Jarkko Nikula <jarkko.nikula at nokia.com>
> Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
> Warning: this assumes that the davinci-evm and n810 have their codec
> chips on I2C bus 0, which may or may not be the case. Someone with
> these machines please test and report.
> 
...
> linux-2.6.27-rc5/sound/soc/omap/n810.c	2008-09-01
> 08:30:10.000000000 +0200 @@ -290,6 +290,7 @@ static struct
> snd_soc_machine snd_soc_ma /* Audio private data */
>  static struct aic3x_setup_data n810_aic33_setup = {
> +	.i2c_bus = 0,

Thanks. In N810 it's connected into second i2c bus so this makes it
working

 +	.i2c_bus = 2,


Jarkko


More information about the Alsa-devel mailing list