From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 91984EB64D9 for ; Mon, 10 Jul 2023 13:33:56 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 15492820; Mon, 10 Jul 2023 15:33:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 15492820 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688996034; bh=PcgdfCqBIbPTu4JqQZu5q+HYQGpr7DWOm49hDVjk5i0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=NmGulV6ubkutcWBC7gTT7PZ4vssC9Nwi2dBKmrjxPUW2q3hMxByYnnL/Ty3lQUUqe DL1eu3QnQraIegkDCMs3bO8a71szVxkk/rMdHkvYm6tgE53JY+yLJi3xB2m/+aPjAB M5MJlTB8RgyGZJ9m5sRzV/Bpoov3bcQudVsJfTCI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id AB78BF8047D; Mon, 10 Jul 2023 15:32:35 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id DF8D0F80249; Mon, 10 Jul 2023 15:32:34 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 53BA6F80249; Mon, 10 Jul 2023 15:32:31 +0200 (CEST) Received: from mga06.intel.com (mga06b.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 4242FF800E4 for ; Mon, 10 Jul 2023 15:32:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4242FF800E4 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=SMOtDTxm DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688995946; x=1720531946; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PcgdfCqBIbPTu4JqQZu5q+HYQGpr7DWOm49hDVjk5i0=; b=SMOtDTxmFrGnPGK+C4+ACaN1MnhjrrFAoLx0boQW9xpoj99jJGujIhaf 7A6IIzE6JR5AvoJ3rod88nlnuz+HTOtn+HEoDuDQUPJnuww8DGgERlPRN wvDueApCFU09OFCZo5bX/cSed72aK/8R3uaAeOsHVyc+rEMJXCxOglXi3 Bpgc1eAJjjdpqCGPLyO/h6IBRoUDVmZ+k813qIIUMbVd1TeH29iStvdhJ GHXZ7d81d6Gpbj4QnR7XH5nyheKvd3RHhCyaI3fS6IQpvnHWY+5QDrKqk 8a4EGiw2+BeodYa4UjZD9peZ5m6uMueiomX6rkebf5ZL4Yzz1K5bTiJ4t g==; X-IronPort-AV: E=McAfee;i="6600,9927,10767"; a="428037972" X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="428037972" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2023 06:32:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10767"; a="790802176" X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="790802176" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 10 Jul 2023 06:32:12 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qIqzq-001Z8L-0E; Mon, 10 Jul 2023 16:32:10 +0300 Date: Mon, 10 Jul 2023 16:32:09 +0300 From: Andy Shevchenko To: Mark Brown Cc: Yang Yingliang , Amit Kumar Mahapatra via Alsa-devel , Kris Bahnsen , Neil Armstrong , Tharun Kumar P , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, netdev@vger.kernel.org, Radu Pirea , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Tudor Ambarus , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Matthias Brugger , AngeloGioacchino Del Regno , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Max Filippov , Richard Cochran Subject: Re: [PATCH v1 4/8] spi: Get rid of old SPI_MASTER_NO_.X and SPI_MASTER_MUST_.X Message-ID: References: <20230710102751.83314-1-andriy.shevchenko@linux.intel.com> <20230710102751.83314-5-andriy.shevchenko@linux.intel.com> <1ffd5603-4140-4bf6-bfed-af70a6759bda@sirena.org.uk> <353027bf-6d2a-40de-9e18-8553864b343c@sirena.org.uk> <7aff8759-cfca-47b5-b995-5260e5082c45@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7aff8759-cfca-47b5-b995-5260e5082c45@sirena.org.uk> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Message-ID-Hash: X6CBJ3RERKTKXFXU6UOW6XRMCZRGBNOI X-Message-ID-Hash: X6CBJ3RERKTKXFXU6UOW6XRMCZRGBNOI X-MailFrom: andriy.shevchenko@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, Jul 10, 2023 at 02:21:05PM +0100, Mark Brown wrote: > On Mon, Jul 10, 2023 at 03:37:59PM +0300, Andy Shevchenko wrote: > > On Mon, Jul 10, 2023 at 12:22:59PM +0100, Mark Brown wrote: > > > On Mon, Jul 10, 2023 at 02:10:53PM +0300, Andy Shevchenko wrote: ... > > > > > > > Convert the users to SPI_CONTROLLER_NO_?X and SPI_CONTROLLER_MUST_.X > > > > > > > and kill the not used anymore definitions. ... > > > > > > > - controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX; > > > > > > > + controller->flags = SPI_CONTROLLER_MUST_RX | SPI_CONTROLLER_MUST_TX; > > > > What part of the above change is replacing _NO_ with _MUST_? > > > None, that's why assuming the split by name should be fine. > > That's what the above changelog sounds like it's trying to do (I'm not > sure the change itself makes sense but the first thing I ran into when > reviewing the patch), AFIACT you're missing a "from" in the changelog? I see, I will elaborate better in v2. But still, I will split on per macro and add one for GPIO_SS. Seems to me better that way. -- With Best Regards, Andy Shevchenko