[alsa-devel] [PATCH] Allow passing platform_data to devices attached to AC97 bus
broonie at opensource.wolfsonmicro.com
Tue Jul 21 16:53:23 CEST 2009
On Tue, Jul 21, 2009 at 04:50:26PM +0200, Takashi Iwai wrote:
> Marek Vasut wrote:
> > int ret;
> > + pxa2xx_audio_ops_t *pdata = dev->dev.platform_data;
> Use the get function.
There's no such function in mainline right now. However, apropos of
something else I submitted a patch adding that to the driver core - it's
been merged for 2.6.32 but won't be available in ALSA until after the
next merge window. The function is dev_get_platdata().
> Also, at the next time, add Russell or linux-arm to Cc so that he
> knows at least that a file in arch/arm will be changed.
Ideally split things into two separate patches.
More information about the Alsa-devel