[Gta04-owner] gta04 audio patches

John Ogness gta04 at ogness.net
Mon Sep 5 12:36:26 CEST 2011


On 2011-09-05, Dr. H. Nikolaus Schaller <hns at goldelico.com> wrote:
> I have now added one (see last git push) and now the codec is being
> loaded.  But there is a kernel NULL pointer problem. Most likely by
> this line from sound/soc/codec/gtm601.c:
>
> static int gtm601_codec_probe(struct platform_device *pdev)
> {
> ...
> 	socdev->card->codec = codec;
>
> it appears that there is no card assigned to the socdev. I think we
> have a different symptom of the same problem.

Interesting driver. It expects that it is already linked into the
soc-audio framework. Try adding the platform_device at the end of
sound/soc/omap/gta04-voice.c:gta04_voice_soc_init() instead of in
arch/arm/mach-omap2/board-omap3gta04.c.

John Ogness


More information about the Gta04-owner mailing list