[alsa-devel] [PATCH 2/3] ASoC: Samsung: Debug PCM snd_soc_dai_driver registration

Jassi Brar jassisinghbrar at gmail.com
Fri Sep 10 13:24:03 CEST 2010


2010/9/10 Mark Brown <broonie at opensource.wolfsonmicro.com>:
> On Fri, Sep 10, 2010 at 04:41:05PM +0900, Jassi Brar wrote:
>
>>  struct snd_soc_dai_driver s3c_pcm_dai[] = {
>> -     S3C_PCM_DAI_DECLARE,
>> -     S3C_PCM_DAI_DECLARE,
>> +     [0] = {
>> +             .name   = "samsung-pcm.0",
>> +             S3C_PCM_DAI_DECLARE,
>
> You should be able to use the id field rather than adding the number to
> the names here.

But the id assignment was removed by Liam's patch, maybe unintentional ?


More information about the Alsa-devel mailing list