From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre-Louis Bossart Subject: Re: [PATCH 1/6] ASoC: Intel: allow for DW_DMAC_CORE as module Date: Wed, 9 Mar 2016 11:06:39 -0600 Message-ID: <56E0581F.10500@linux.intel.com> References: <1457062599-10032-1-git-send-email-pierre-louis.bossart@linux.intel.com> <1457062599-10032-2-git-send-email-pierre-louis.bossart@linux.intel.com> <20160305040303.GY18327@sirena.org.uk> <56DDBF29.2010809@linux.intel.com> <20160309024326.GE3898@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id 58A4B26087F for ; Wed, 9 Mar 2016 18:06:45 +0100 (CET) In-Reply-To: <20160309024326.GE3898@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: tiwai@suse.de, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 3/8/16 8:43 PM, Mark Brown wrote: > On Mon, Mar 07, 2016 at 11:49:29AM -0600, Pierre-Louis Bossart wrote: >> On 3/4/16 10:03 PM, Mark Brown wrote: >>> On Thu, Mar 03, 2016 at 09:36:33PM -0600, Pierre-Louis Bossart wrote: > >>>> - depends on DW_DMAC_CORE=y && (SND_SST_IPC_ACPI = n) >>>> + depends on (DW_DMAC_CORE != n) && (SND_SST_IPC_ACPI = n) > >>> What is the expected difference between a dependency on DW_DMAC_CORE and >>> one on DW_DMAC_CORE != n? > >> No functional difference, it's more to make the menuconfig options more >> obvious. >> Without this patch, menuconfig will not show the legacy byt-max98090 and >> byt-rt5640 options if the DW_DMAC_CORE is built as a module. >> While we want to encourage folks to use the newer DPCM drivers, we also want >> to leave these options accessible. > > My point is that you've written the above in a very confusing manner - I > have to think about what it means while just a dependency would be clear > and obvious. Are you asking about the intent/functionality or just a simplification to do this (un-tested): depends on DW_DMAC_CORE && (SND_SST_IPC_ACPI = n)