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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 21 Dec 2005 10:32:41 -0800 (PST),
Linus Torvalds wrote:
> 
> On Wed, 21 Dec 2005, Takashi Iwai wrote:
> >
> > (And, interestingly, fs_initcall() is rarely used in the whole fs/
> >  codes!  "grep -r fs_initcall linux/fs" hits only one file.)
> 
> Yes. That thing was probably mis-named. It's much more commonly used for a 
> "helper subsystem", ie things like pcmcia (that want PCI to be fully 
> initialized and probed, but want to run before the actual device drivers 
> start probing).

I see.  Thanks for clarification.

> > So, a "safe" solution for the time being appears to be either
> > - to look through the whole codes and adjust *_initcall() levels,
> > - to force to build saa7134-alsa as a module, or
> > - to move saa7134-alsa.c to sound/ directory.
> 
> Well, you dropped the easiest: make saa7134 just use "late_initcall()".
> 
> It's not "correct", but it's certainly no less correct than just forcing a 
> driver to be moved for link order reasons.

Yep, that's obviously the easiest one.  I'd vote for this, at least
for 2.6.15, once after it's confirmed to work.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux