[alsa-devel] [PATCH] ASoC: codecs: Make OF supported CODECs visible in Kconfig

Mark Brown broonie at kernel.org
Thu Jan 23 14:22:40 CET 2014

On Thu, Jan 23, 2014 at 02:15:42PM +0100, Takashi Iwai wrote:
> Mark Brown wrote:

> > It may also be desirable to hide these if OF is not enabled to reduce
> > noise.

> IIRC, you can write like:

> config SND_SOC_ADAU1701
> 	tristate "Analog Devices ADAU1701 CODEC" if OF
> 	depends on I2C

> so that it's visible only when CONFIG_OF is set.

Yes, or use a proxy symbol so we can add ACPI easily as well in due
course without having to go through and update every device again - that
was the main thing really.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140123/a4d75b88/attachment.sig>

More information about the Alsa-devel mailing list