[alsa-devel] [PATCH 3/3] ALSA SoC: Add Texas Instruments TLV320AIC26 codec driver

Grant Likely grant.likely at secretlab.ca
Sat Jul 5 01:44:09 CEST 2008


On Fri, Jul 4, 2008 at 2:49 PM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Tue, Jul 01, 2008 at 05:53:40PM -0600, Grant Likely wrote:
>> +     /* Tell the of_soc helper about this codec */
>> +     of_snd_soc_register_codec(&aic26_soc_codec_dev, aic26, &aic26_dai,
>> +                               spi->dev.archdata.of_node);
>
> Does this need to be ifdefed out if of_snd_soc_register_codec() is not
> in use or is the function stubbed out if it's not in use?  Stubbing it
> out would be cleaner.

yeah, probably.  This is a stop-gap measure anyway until ASoC v2 is merged.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Alsa-devel mailing list