[PATCH] ARM: shmobile: only select sound drivers that build
Arnd Bergmann
arnd at arndb.de
Tue May 19 06:50:07 PDT 2015
On Tuesday 19 May 2015 15:34:00 Geert Uytterhoeven wrote:
> On Tue, May 19, 2015 at 2:49 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> > A couple of codec drivers are selected by shmobile platform code,
> > but depend on I2C, which results in a build error:
>
> > --- a/arch/arm/mach-shmobile/Kconfig
> > +++ b/arch/arm/mach-shmobile/Kconfig
>
> > @@ -158,8 +158,8 @@ config MACH_BOCKW
> > depends on ARCH_R8A7778
> > select ARCH_REQUIRE_GPIOLIB
> > select REGULATOR_FIXED_VOLTAGE if REGULATOR
> > - select SND_SOC_AK4554 if SND_SIMPLE_CARD
> > - select SND_SOC_AK4642 if SND_SIMPLE_CARD
> > + select SND_SOC_AK4554 if SND_SIMPLE_CARD && I2C
>
> AK4554 is not an i2c device, but a plain platform device.
>
> > + select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C
> > select USE_OF
>
> The others are OK, so if you have remove AK4554, you can add my
> Acked-by: Geert Uytterhoeven <geert+renesas at glider.be>
>
>
Ah, my mistake. I've sent a fixed version 2 now.
Thanks!
Arnd
More information about the linux-arm-kernel
mailing list