[alsa-devel] [PATCH] ASoC: rt286: Add depends on I2C

Mark Brown broonie at kernel.org
Fri Oct 3 12:19:06 CEST 2014


On Fri, Oct 03, 2014 at 09:55:07AM +0800, Bard Liao wrote:
> rt286 use I2C as its I/O. So the driver can only available when
> I2C is selected.

>  config SND_SOC_RT286
>  	tristate
> +	depends on I2C

This won't actually do anything - since the symbol SND_SOC_RT286 is
selected rather than enabled directly Kconfig will just ignore any
dependencies it has.  I've applied anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141003/5adae6b8/attachment.sig>


More information about the Alsa-devel mailing list