Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68A5010783 for ; Mon, 10 Jul 2023 11:11:08 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 606ADDB; Mon, 10 Jul 2023 04:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688987465; x=1720523465; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=anBTsvynQ8qUvIELsfh79T1xhkkDcClo5RxqNLeYaSA=; b=Ad6CZK/4Exh6b6gRa/50PDWLeMi+nbI2L7+Pkx3SdjgqNtwga7o2n9tK F7wH3qTKsokfppKasJEG2IV8PMq3ru172xH12quM4QrCN3g37dKp2Ac+O 7ePHIImg2x05GfiztoHWvL1Jz5miGfANaDD1UuQoXuiKq5YVB4AxWYoLO 1jXocf9P2WxL2pwj4QttDnEAy1CCpkJ2/NTJz2MaCcrgzBPDicJQVvNw2 6xCkQQOS2eaVRSabI7jPIhTcUE/Ey6BIuMSnaP0+682d3Qd8lzw442QVw EPuGLV/EI+UpcOWkhPX7ENVtSsbSLRfyW/nOHfQvPdxP4Hob3d89vvLhk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10766"; a="343908962" X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="343908962" 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:11:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10766"; a="720664309" X-IronPort-AV: E=Sophos;i="6.01,194,1684825200"; d="scan'208";a="720664309" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 10 Jul 2023 04:10:56 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qIon7-001XKM-1M; Mon, 10 Jul 2023 14:10:53 +0300 Date: Mon, 10 Jul 2023 14:10:53 +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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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... A wild guess, maybe you meant to split to two changes, one per each macro group? > > > - controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX; > > > + controller->flags = SPI_CONTROLLER_MUST_RX | SPI_CONTROLLER_MUST_TX; -- With Best Regards, Andy Shevchenko