Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751178AbVLUSsw (ORCPT ); Wed, 21 Dec 2005 13:48:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751177AbVLUSsw (ORCPT ); Wed, 21 Dec 2005 13:48:52 -0500 Received: from mx2.suse.de ([195.135.220.15]:47025 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S1751178AbVLUSsv (ORCPT ); Wed, 21 Dec 2005 13:48:51 -0500 Date: Wed, 21 Dec 2005 19:52:02 +0100 Message-ID: From: Takashi Iwai To: Linus Torvalds Cc: James Courtier-Dutton , Adrian Bunk , Sergey Vlasov , Ricardo Cerqueira , mchehab@brturbo.com.br, Linux Kernel Mailing List , video4linux-list@redhat.com, perex@suse.cz, alsa-devel@alsa-project.org Subject: Re: [Alsa-devel] 2.6.15-rc6: boot failure in saa7134-alsa.c In-Reply-To: References: <20051220131810.GB6789@stusta.de> <20051220155216.GA19797@master.mivlgu.local> <20051220191412.GA4578@stusta.de> <43A86B20.1090104@superbug.co.uk> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta21) (corn) (+CVS-20050720) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 35 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/