Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752886AbZLYLJf (ORCPT ); Fri, 25 Dec 2009 06:09:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751945AbZLYLJe (ORCPT ); Fri, 25 Dec 2009 06:09:34 -0500 Received: from cantor.suse.de ([195.135.220.2]:50866 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751044AbZLYLJd (ORCPT ); Fri, 25 Dec 2009 06:09:33 -0500 Date: Fri, 25 Dec 2009 12:09:28 +0100 Message-ID: From: Takashi Iwai To: Henrique de Moraes Holschuh Cc: Randy Dunlap , Marcel Holtmann , Xiaotian Feng , Amerigo Wang , linux-kernel@vger.kernel.org, Corentin Chary , ibm-acpi-devel@lists.sourceforge.net, Len Brown , Alan Jenkins , akpm@linux-foundation.org, helight.xu@gmail.com Subject: Re: [Patch] thinkpad_acpi: fix a build error In-Reply-To: <20091224185912.GA25861@khazad-dum.debian.net> References: <20091218093132.4415.23424.sendpatchset@localhost.localdomain> <7b6bb4a50912180142u5e66fa88odb7cd3b6fa1a2ba2@mail.gmail.com> <20091218142815.GB15898@khazad-dum.debian.net> <1261435136.4041.152.camel@localhost.localdomain> <20091221144432.81702725.rdunlap@xenotime.net> <20091222193858.GB1796@khazad-dum.debian.net> <20091224185912.GA25861@khazad-dum.debian.net> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1473 Lines: 38 At Thu, 24 Dec 2009 16:59:12 -0200, Henrique de Moraes Holschuh wrote: > > On Wed, 23 Dec 2009, Takashi Iwai wrote: > > At Tue, 22 Dec 2009 17:38:58 -0200, > > Henrique de Moraes Holschuh wrote: > > > I won't in this case. I think I will cook up a patch to disable the entire > > > mixer subsystem in thinkpad-acpi if CONFIG_SND is not available. I don't > > > like the depends on SND though. > > > > That's also not so trivial unless you give any dependency in Kconfig. > > Without a restriction, THINKPAD_ACPI=y and SND=m can be chosen. > > "depends on SND || SND = n" takes care of the technical restrictions. Yep, that's what I mentioned as Kconfig dependency :) > I am testing the patch now. No ALSA, no volume subdriver, module still > works (and prints some crap to syslog so that the user knows the driver > could do more with ALSA support). > > > It'd be also not nice if suddenly a certain functionality disappears > > without warning (even if the subsystem is enabled but as a module). > > The warning will be there. Although I don't warn of missing rfkill > functionality if the kernel is missing the rfkill subsystem... The messages could be KERN_INFO instead of KERN_WARNING, I think. thanks, 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/