Re: [Alsa-devel] 2.6.15-rc6: boot failure in saa7134-alsa.c

From: Linus Torvalds
Date: Tue Dec 20 2005 - 15:01:51 EST




On Tue, 20 Dec 2005, Adrian Bunk wrote:
>
> > Adrian, does it work if you change the "module_init()" in
> > sound/sound_core.c into a "fs_initcall()"?
>
> No, this didn't work.
>
> What did work was to leave sound/sound_core.c alone

Can you do try the other way again, with sound/core/sound.c fixed too?

A regular driver really _should_ use the regular "module_init()" sequence
(it is indeed just a compatibility define for "driver_init()").

The "late_init()" stuff is meant for stuff that literally runs after
everything else is up and running, it might want all drivers functional
(now, nobody really cares about a sound driver, so in that sense it would
be ok..)

Thanks,

Linus
-
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/