Received: by 10.223.176.5 with SMTP id f5csp2809496wra; Thu, 1 Feb 2018 06:27:44 -0800 (PST) X-Google-Smtp-Source: AH8x227PXgGm04ljoHL/HKnTmUvSWCldz3+J/TkBMrVv9jjlCpSudd5Qb8Ii6G98TMCghaJXfDOn X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr3447154plb.235.1517495264290; Thu, 01 Feb 2018 06:27:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517495264; cv=none; d=google.com; s=arc-20160816; b=ZFy3CwAsHGBJ4utTVhZB3INdhfxOkriZmFU45+uN0jNrObLS6PR+4ncYmxhEtsHbbX bd7qtDqj2Bet4SoIbLdW76REF+l3gzYrab/8fJN5gu7/+40adqMh7Xq7d0VDLe6PZkwg 2pqJP6tcYdGpiO1cq8hFjgSVu9sWSvnvQZC4z1eFFt7C0qinDWzAu2+Uj7zEFp4T58Mc flgwOf1aCPEegfYfosPYbLftgwrPF9KjLtkcST6Gc5nLEHybmRcm9T778lbhSCcn8cME HUFWSIS0xxgrBsSWRMt83CV9aTTyjdQqpH8DEGUgRiTNR/EnCZy3MgT8RSWtl6akgbit B+Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=+ACnkIvntKDEAfYizeWSx6XXRL18pZHa5zsityZLO+I=; b=MCc7xoFfdUXN/2kZcygr3q5mgcBwY+aSaZzdNORrnQvcVHTwZYakkrMSzD7jHzxiez UXMchY9U1QU9KRF5i42ZbvXyXqzd7b8UeB7ywyuDMUbj2u7JJorEL9LSk03DnxbdeThY YrpUxQu+uTlhSMTVoe7O9Yb4cNr6s9v/BTWmp+zkXgWpUoLrlOML/+C9CwFbZ011CavR cLzQLtZLr+NxXd6ckLoe9FVKIqEzMCF7HApzqLFtkrKweYFvbSPiBmmJJaF0ydYzzq3h EUwUyZ1wsTlXV3bnN4A/cNGhdJBhljsvYM+vXn49QmZe7gr2F7Foi+jqZiNEmHbYnro2 bt0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=qwHtHdKc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u32si1480460pgn.770.2018.02.01.06.27.29; Thu, 01 Feb 2018 06:27:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=qwHtHdKc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751822AbeBAO0G (ORCPT + 99 others); Thu, 1 Feb 2018 09:26:06 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41230 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751410AbeBAO0F (ORCPT ); Thu, 1 Feb 2018 09:26:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+ACnkIvntKDEAfYizeWSx6XXRL18pZHa5zsityZLO+I=; b=qwHtHdKcj6hM/b/6eYUJuioT5 9nxfBYATLMi2Rq5NP5Daxhws0iQXQpcGv5u5TPG3+89qSGM+O/Yw5ZsklxhRwTCOeQi1/bQBkyuRo 3jZHJItDIDP+BrVx0nAsurmJHmisdzZJe1OC4ya6Kc6pSi12zn0U77nBrmpj/2XtTmruU=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehFnM-0008BD-Oy; Thu, 01 Feb 2018 14:24:56 +0000 Received: from broonie by debutante with local (Exim 4.90) (envelope-from ) id 1ehFnL-0006Ri-LB; Thu, 01 Feb 2018 14:24:55 +0000 Date: Thu, 1 Feb 2018 14:24:55 +0000 From: Mark Brown To: Olivier MOYSAN Cc: Ladislav Michl , "lgirdwood@gmail.com" , "perex@perex.cz" , "tiwai@suse.com" , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE , "alsa-devel@alsa-project.org" , "linux-arm-kernel@lists.infradead.org" , "kernel@stlinux.com" , "linux-kernel@vger.kernel.org" , Arnaud POULIQUEN , Benjamin GAIGNARD Subject: Re: [alsa-devel] [PATCH 1/1] ASoC: stm32: add of dependency for stm32 drivers Message-ID: <20180201142455.GB10785@sirena.org.uk> References: <1517475281-6444-1-git-send-email-olivier.moysan@st.com> <20180201091012.GA10746@lenoch> <3bd3ba89-5c69-4485-c913-ff1c1ad67190@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <3bd3ba89-5c69-4485-c913-ff1c1ad67190@st.com> X-Cookie: $3,000,000. User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2018 at 01:19:28PM +0000, Olivier MOYSAN wrote: > On 02/01/2018 10:10 AM, Ladislav Michl wrote: > > depends on (ARCH_STM32 && OF) || COMPILE_TEST ? > I can find in many configs "depends on OF && (ARCH_X || COMPILE_TEST)" > This seems reasonable to me, as the driver always requires OF=20 > dependency, regardless the compilation context. > In fact, I cannot see why OF would not have to be selected > for COMPILE_TEST. There are some OF functions that are stubbed out when OF is disabled and some that aren't, if the driver is using the more obscure APIs that aren't stubbed it needs the hard dependency but if it's using the other bits that do have the stubs then it can be compile tested without OF being abled. --V0207lvV8h4k8FAm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlpzIzYACgkQJNaLcl1U h9AyAQf+Meui41IfjGEXX68Ml4jX9krdGjzE3bdVK6etUerjl4R1RgKGvB2cXyeI u0NVrVL4We94NUHB6jVnZPOPkRmIOWHB15TkJd4Zp9Nc6tObQMmn0tJsuU6TJjer 3PE342uRbyI6Z4LuXjSbZI7iiwCdgYxVFVF6cDKNzKbaPTUqyNLwDHnmVIXxd8X5 LC61ITMnH4/hDPoKSep92Uv2FgDpydIXs3RINSLKH+fbisw/Cm756990anK9t8EB ffP0QSbfQoDWN+FHul00zYhSOpv9BqJEfFhaFdLiI6k5wTgRTs54w9xJWfzPYNNL sdqvOLxUrnVcx7I3TIp71+8KNy44XA== =Dn27 -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm--