
5 Jun
2009
5 Jun
'09
1:42 p.m.
On Fri, Jun 05, 2009 at 12:38:05PM +0200, Takashi Iwai wrote:
Mark Brown wrote:
We'd need to add the void * to snd_ac97_template too so that the data is initialised before snd_ac97_mixer() instantiates the device but that's the only issue I can see. If you're happy with that approach I can send some patches for it?
Just setting it after calling snd_ac97_mixer() doesn't suffice? It's always NULL as default.
Ah, should be - I'd misremembered how much snd_device_new() was doing when looking at the snd_ac97_mixer() code.