
23 Aug
2011
23 Aug
'11
1:32 a.m.
On Mon, Aug 22, 2011 at 04:33:20PM +0300, Péter Ujfalusi wrote:
On Saturday 20 August 2011 09:02:20 Mark Brown wrote:
If we're adding this we should probably go the accessor route like we do with the driver data for the CODECs.
Something like:
static inline void *snd_soc_widget_get_pdata(struct snd_soc_dapm_widget *w) { return w->private_data; }
Yeah, something like that.
Another option at the moment is that I create global variable within the omap- mcpdm.c, so I can have access to the mcpdm within the dapm event handler.
That'll probably break in future I'd guess.