Re: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalizationfailure

From: Mark Brown
Date: Thu Sep 06 2012 - 03:55:57 EST


On Sat, Sep 01, 2012 at 11:09:18AM +0200, Janusz Krzysztofik wrote:

> I see your point, however for now I can see no better way of referencing
> the data (of type struct snd_soc_card) then passing it to
> snd_soc_register_card(). But for this to work, I would have to register
> successfully an ams-delta specific platform device first, not the soc-
> audio. This, even if still done from the sound/soc/omap/ams-delta.c, not
> from an arch board file, would require now not existing ams-delta ASoC
> platform driver probe/remove callbacks at least. I'm still not convinced
> if such modification would be acceptable in the middle of the rc cycle.

> If there is a simpler, less intrusive way to do this, then sorry, I
> still can't see it.

Like I already said just make it a static variable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/