[alsa-devel] AUDIO: Split WM8750 IO routines from core for SPI
Takashi Iwai
tiwai at suse.de
Mon Jun 23 14:28:36 CEST 2008
At Mon, 23 Jun 2008 12:54:07 +0100,
Ben Dooks wrote:
>
> Add SPI support to the WM8750 ASoC codec by splitting
> the I2C out of the WM8750 codec and adding an standard
> SPI driver to the system.
>
> Signed-off-by: Ben Dooks <ben-linux at fluff.org>
>
> Index: linux-2.6.26-rc4-quilt3/sound/soc/codecs/Kconfig
> ===================================================================
> --- linux-2.6.26-rc4-quilt3.orig/sound/soc/codecs/Kconfig 2008-05-26 23:17:51.000000000 +0100
> +++ linux-2.6.26-rc4-quilt3/sound/soc/codecs/Kconfig 2008-06-02 15:26:21.000000000 +0100
> @@ -10,6 +10,16 @@ config SND_SOC_WM8750
> tristate
> depends on SND_SOC
>
> +config SND_SOC_WM8750_I2C
> + tristate
> + select SND_SOC_WM8750
> + depends on SND_SOC && (CONFIG_I2C || CONFIG_I2C_MODULE)
This is wrong in Kconfig. Should be
depends on SND_SOC && CONFIG_I2C
> --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> +++ linux-2.6.26-rc4-quilt3/sound/soc/codecs/wm8750-i2c.c 2008-06-02 15:42:19.000000000 +0100
> +#include <sound/driver.h>
This header file is obsoleted.
Takashi
More information about the Alsa-devel
mailing list