Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750958AbVLTUCx (ORCPT ); Tue, 20 Dec 2005 15:02:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750959AbVLTUCx (ORCPT ); Tue, 20 Dec 2005 15:02:53 -0500 Received: from smtp.osdl.org ([65.172.181.4]:9877 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750869AbVLTUCw (ORCPT ); Tue, 20 Dec 2005 15:02:52 -0500 Date: Tue, 20 Dec 2005 11:59:20 -0800 (PST) From: Linus Torvalds To: Adrian Bunk cc: 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: <20051220191412.GA4578@stusta.de> Message-ID: References: <20051220131810.GB6789@stusta.de> <20051220155216.GA19797@master.mivlgu.local> <20051220191412.GA4578@stusta.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 941 Lines: 29 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/