From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre-Louis Bossart Subject: Re: [PATCH v2 2/5] ALSA: hda: move parts of NHLT code to new module Date: Mon, 22 Jul 2019 07:14:28 -0500 Message-ID: <97359d3a-a3a0-696a-3d3f-64bd608eea5f@linux.intel.com> References: <20190719203752.11151-1-pierre-louis.bossart@linux.intel.com> <20190719203752.11151-3-pierre-louis.bossart@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 360A3F8049C for ; Mon, 22 Jul 2019 14:23:26 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Takashi Iwai , Cezary Rojewski Cc: Hui Wang , Curtis Malainey , alsa-devel@alsa-project.org, broonie@kernel.org, Daniel Drake List-Id: alsa-devel@alsa-project.org On 7/22/19 3:54 AM, Takashi Iwai wrote: > On Sat, 20 Jul 2019 23:06:46 +0200, > Cezary Rojewski wrote: >> >>> --- a/sound/hda/Kconfig >>> +++ b/sound/hda/Kconfig >>> @@ -29,3 +29,6 @@ config SND_HDA_PREALLOC_SIZE >>> Note that the pre-allocation size can be changed dynamically >>> via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. >>> + >>> +config SND_INTEL_NHLT >>> + tristate >> >> If above is true, "depends on ACPI" would be expected. > > This won't fix things in practice as the Kconfig reverse selection > ignores the dependencies of the selected item. It'd be as a help for > readers, though. There is a fallback if ACPI is not defined, so the code would always compile. Configurations which select SND_INTEL_NHLT already depend on ACPI.