Re: [PATCH] ASoC: simple-card: fix module load "unknown symbol" issue

From: Sekhar Nori
Date: Tue Aug 09 2016 - 02:49:28 EST


On Tuesday 09 August 2016 05:56 AM, Kuninori Morimoto wrote:
>
> Hi Sekhar
>
>>> An ASoC driver using simple-card, when built as a module gets the
>>> following error at module load time:
>>>
>>> [ 23.571873] simple_card_utils: Unknown symbol snd_soc_of_parse_daifmt (err 0)
>>> [ 23.712726] simple_card_utils: Unknown symbol snd_soc_of_parse_card_name (err 0)
>>>
>>> fix this by including simple-card-utils.o symbols in the module build
>>> its symols are resolved correctly.
>>>
>>> Tested on Davinci DA850-EVM using snd_soc_edma, snc_soc_davinci_mcasp,
>>> with all of ASoC built as modules.
>>>
>>> Cc: Sekhar Nori <nsekhar@xxxxxx>
>>> Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxx>
>>
>> Tested with audio on DaVinci DA850 EVM.
>>
>> Tested-by: Sekhar Nori <nsekhar@xxxxxx>
>
> I think this issue was solved by this patch on Mark/fix/simple
>
> 1f85e118c81d15aa9e002604dfb69c823d4aac16
> ("ASoC: simple-card-utils: add missing MODULE_xxx()")

I see it in -next. Thanks!

Regards,
Sekhar