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 EBA5EEB64DA for ; Mon, 10 Jul 2023 11:21:24 +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 2375D3E7; Mon, 10 Jul 2023 13:20:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2375D3E7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688988082; bh=h3akaffE4c4ikxI/bpe287xBwIcWxxQpigcUNq0Wefs=; 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=PtQzdiW4om0zhk1fZA5+K1kzUlIaLczuL2F1WjP19tEgAVqPTTajoL3q3tidsxU8P 5E7vVRX6OycXUM2bNJqM/NbRVSe/jYJIHlX7j6xhUsG+GkR7pPO83LlnFy1xc/3ZLh LwGMPnyTkzSPp2ySbvlx5fRUamxxJBYxhbp+0us4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 855B9F800E4; Mon, 10 Jul 2023 13:20:03 +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 A52FEF80535; Mon, 10 Jul 2023 13:20:02 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 752CBF80249; Mon, 10 Jul 2023 13:19:58 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 0EA10F800E4 for ; Mon, 10 Jul 2023 13:19:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0EA10F800E4 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=M6tnCcE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688987997; x=1720523997; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=h3akaffE4c4ikxI/bpe287xBwIcWxxQpigcUNq0Wefs=; b=M6tnCcE2W6ZsnT9eWDh2/xcpnm/syFfmf6mi9BsbWXqDJ1RmvQH4B/wl vWL5CD3sjX5GW2xkbCd8ZxEudcdUT9cDzNFWs9B6071o37KBJRcNVPomX KyRuPfIY79v4TMIsxxKsRo0AIniiEZu6ACQPL5p9zta/2hN/fBkFvGLNh 7pyLIxwgKz1aB3dj78E+EvR2VRKg2htrmI773vSBI9UgnL/n1w0RhD6gD Kss4y3bmfk6LdxI9dRXtxwjcArtFTthQPcprxIDqRJH0vkMW2vBVyYwEC FRSuN4UWb0Kw2mBOH3WI9UTB+tTnS5MV3xTDfuOqI+ik1SKP7givADH8O Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10766"; a="343910842" X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="343910842" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2023 04:19:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10766"; a="720666509" X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="720666509" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 10 Jul 2023 04:19:46 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qIovf-001XRG-1b; Mon, 10 Jul 2023 14:19:43 +0300 Date: Mon, 10 Jul 2023 14:19:43 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Message-ID-Hash: HXEYYKV2PEGDOCM6GYX5XFF5Z5J2QEHX X-Message-ID-Hash: HXEYYKV2PEGDOCM6GYX5XFF5Z5J2QEHX 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 12:10:03PM +0100, Mark Brown wrote: > On Mon, Jul 10, 2023 at 02:08:00PM +0300, Andy Shevchenko wrote: > > On Mon, Jul 10, 2023 at 12:04:35PM +0100, Mark Brown wrote: > > > On Mon, Jul 10, 2023 at 01:27:47PM +0300, Andy Shevchenko wrote: > > > > > > > Convert the users to SPI_CONTROLLER_NO_?X and SPI_CONTROLLER_MUST_.X > > > > and kill the not used anymore definitions. > > > > The above is not what this change does: > > > How to improve it? I was sure that the form of "converting to something and > > something" is clear... > > > > > - controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX; > > > > + controller->flags = SPI_CONTROLLER_MUST_RX | SPI_CONTROLLER_MUST_TX; > > The change here is not the change that is described above. Okay, than you for elaboration and review. With the assumed split it should be addressed. Besides that, should I resend the entire series or only this one? -- With Best Regards, Andy Shevchenko