Re: [PATCH] ASoC: codecs-ac97: make selectable in config

From: Mark Brown
Date: Tue May 12 2015 - 13:58:36 EST


On Sun, May 10, 2015 at 12:12:04AM +0200, Maciej S. Szmigiero wrote:

> @@ -16,7 +16,7 @@ config SND_SOC_ALL_CODECS
> select SND_SOC_88PM860X if MFD_88PM860X
> select SND_SOC_L3
> select SND_SOC_AB8500_CODEC if ABX500_CORE
> - select SND_SOC_AC97_CODEC if SND_SOC_AC97_BUS
> + select SND_SOC_AC97_CODEC
> select SND_SOC_AD1836 if SPI_MASTER
> select SND_SOC_AD193X_SPI if SPI_MASTER
> select SND_SOC_AD193X_I2C if I2C

No, you're missing the point of what _ALL_CODECS does - it builds
everything possible. This will break the build for systems without
AC'97 support.

Attachment: signature.asc
Description: Digital signature