20 Dec
2008
20 Dec
'08
9:37 a.m.
At Fri, 19 Dec 2008 18:18:53 +0100, Udo van den Heuvel wrote:
Takashi Iwai wrote:
You should figure out which function returns -ENOMEM error in the probe callback.
How can I do that? Please let me know which file I need to modify. I can build a test-kernel and see waht happens then.
Well, my bet is snd_card_new(). It returns NULL when something is wrong, and the driver returns -ENOMEM no matter which error was. Usually when this happens you'll have some error messages (e.g. "cannot find the slot...") or so.
snd_card_new gives me the error. (I put some printk's at the right spots.)
So what's the next step?
Check that function. Did you build with the debug option?
Takashi