Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp130046rdh; Tue, 13 Feb 2024 11:28:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVWBy1KoYvAjA4lu/lS/VmOh0An5uiIjc81Eixb2GU/wsoj87V/jo+RgotvS6T0mvGEB33grkHBE8/7aAnNMKKFBCwxmjI7++Jcb3Gk5A== X-Google-Smtp-Source: AGHT+IHHKqZ6yn7bg8u9AG4VFi3lOtSXUKuUn0xKiI7SoZ3CSlBgNeCMpuyku6JioF1UxFsq6CcU X-Received: by 2002:a17:906:f8cf:b0:a3d:2422:ee73 with SMTP id lh15-20020a170906f8cf00b00a3d2422ee73mr206118ejb.77.1707852535116; Tue, 13 Feb 2024 11:28:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707852535; cv=pass; d=google.com; s=arc-20160816; b=j79fLWCXsCBM1RtAh7eG8i/VeHKifJyA3vQRoBToSjKzQwbzBn8aVqu8BJU2yVi1FR 31uKHV04b7YvypjU8BokBf0+uCZ758MxmYWZwd3cgbcF3/XbFPOEOgMkUsxphxr+oJwX Po3wypIdLr0590RDiSIiMDC8AG+mHDX9lQYq4bmdNwzPwMdxJ1eAcmgByV3uwQ28eN03 GKly9WAhwPuQlOYdy8XtxMpucqilCWwonbuyOMKHXt/sYdeQ4RtqQBuXvoD+RdBa2iVA ymqecjBK3YG17boqvjfwaDVgpZryPBNYa7bESDtXKctbK1Nqk88mFfTu++fhETNUXxHn Qc1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qGl80bOe4CUAFZorUlePQSAqWZ1AK5gIFCjoar/8b14=; fh=YMGzKngN4TNM4x7Fv51qgogLkUihfQ/qZKmmGblJLLA=; b=Br+4FGrDZJiYCtyj45NvY628gK0ELiIo1rE9nNia1+J3cqO1clmXVCqJInjG9AE2nQ inT/cZWzxmhdwWISa5F+88NvoBx8YzpDkzNUfuyNu9Hucx3BvnsECrjYvEmpenHl9e7r sU0zR0pU7AgYsiH9LNxPniKqKumP+tYL3VolR5UHLq/nPMKMANSxL8Cmy9+LiPkzV/9R DZg9vIZsr/oikOU0lRIysj5vVXoRBflLnlulz1u3PtAxvDQMLz1h2sHl9UK+AzZ0MEME fljz5v73CkiApfL+ExFI4jdTIVjzmxVyCiVedOHYxvzPhvTQY5vfUoJMK7mxd72CAbjO p2zQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LoIAR+JM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVpL6geGlp9bhZRrjeFnjwN8uWB3CZMDgTOnX7RqDbK+5HFuQp6YPMZsyNYMF29k6QWCN8SyrM2OtbDltf/5k81QCnzfKZ5VJQHZmjI6g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f17-20020a170906085100b00a3d214656f5si354516ejd.651.2024.02.13.11.28.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 11:28:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LoIAR+JM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C986E1F27813 for ; Tue, 13 Feb 2024 19:28:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 799076086A; Tue, 13 Feb 2024 19:28:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LoIAR+JM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9840D2E3E4; Tue, 13 Feb 2024 19:28:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707852525; cv=none; b=qVZ2guBQMKdzxPfxuRFAOUxIAM4wvrbY7ylHRcJBMONFgvRhwpCYqthO9EFvuQt4vggvBx+V7bA+fc2oYZHmCIxQv/Fpnnz+cCTmpIOnLV5LFOMHTMBf5wTkKUEF+RwHs8EATuGnZ/nAB6VwyhWW1g7m0o4iXWQ7tCHbNC+RpRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707852525; c=relaxed/simple; bh=5NZfHEpoK2pgvpQmn+zBq28sPSpp5q49Kr7YjoVCrtM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aR9WEsYxAHbVqaz+SDvcDNQDgdQN7QM0To9JnBiT6btSNVRTwsKM0Dj3auB7qfxO4mDB3O5P11sekJpkjT4Ff7rz7KVrBVRx8lwcb8/VJlAMEGQa6W2ImIRyc9SawpipBwifuuFK4F4g3LXhAxGHXwb8snA0ug+/MnCHdkxhJdc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LoIAR+JM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4268C433C7; Tue, 13 Feb 2024 19:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707852525; bh=5NZfHEpoK2pgvpQmn+zBq28sPSpp5q49Kr7YjoVCrtM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LoIAR+JMQSh6rKubrC77HEUuM9i9+9xusFm3mBbMPEZB1zFVC8WAi+P79P7vP2pV0 HYIegRCXj+SAa+EHRdiaAKW5gyoYrkZ+zAMfjDw0wmww4tkaAQnVpqjjKSjFIQZuoL nifq2fKz2moHoxjc+3SMXRtWSbUO5vCnGZUtJF0jsJnZffXO/479UNLFEtBMHZlS0F 3dOWR+l8eciIKzvkpTrQQDtgGwNQpRFztz/zUa53hiXsBb1uzCtkIB57/3LdNYvU2s X42U/t63AKQNyYVRpYA3ZlFTSIICRmKwO8cOHujz84MWgffPZUxColMHkE1uscdVpL SXmpn8n6AGonQ== Date: Tue, 13 Feb 2024 19:28:39 +0000 From: Mark Brown To: David Lechner Cc: Martin Sperl , David Jander , Jonathan Cameron , Michael Hennerich , Nuno =?iso-8859-1?Q?S=E1?= , Alain Volmat , Maxime Coquelin , Alexandre Torgue , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org Subject: Re: [PATCH 1/5] spi: add spi_optimize_message() APIs Message-ID: <6900e726-dac7-45c0-a88f-7830c1c7e43f@sirena.org.uk> References: <20240212-mainline-spi-precook-message-v1-0-a2373cd72d36@baylibre.com> <20240212-mainline-spi-precook-message-v1-1-a2373cd72d36@baylibre.com> <54623b74-872a-41dc-992f-71a586d145ec@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Vu/aZ+4oRClrdlxp" Content-Disposition: inline In-Reply-To: X-Cookie: Does not include installation. --Vu/aZ+4oRClrdlxp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2024 at 01:26:02PM -0600, David Lechner wrote: > On Tue, Feb 13, 2024 at 12:55=E2=80=AFPM Mark Brown = wrote: > > It would probably be clearer to name the parameter pre_optimising rather > > than pre_optimized, as it is the logic is a bit confusing. Either that > > or some comments. A similar issue applies on the cleanup path. > Per Jonathan's suggestion, I plan to remove the parameter from this > function and handle this flag at the call site instead. That works too. --Vu/aZ+4oRClrdlxp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXLwuYACgkQJNaLcl1U h9B13Af/Sg7oS1FfB9/Qrl4jfMCRKLNMs8JEHKGOd1M5Nu8SfTT/K0LA3Vb2rrJu SkpFl8U+gGFaJAOFpTbKbAAC8wd6iKfOxQH34JpDm+SIXmFMTYYDkt1NcSgkU5j+ h0kIbOy/GVPz7k7+t529BYiXucPTAio/6ege1DTlYhfVRtFuteRJ6xBPzqHXkycV 7Dr81PGaY0NMa2cqjGwVQo/8oCf971g3IuixqBuXQZ0LSPbJgNWjXUz+1fd+D00v qq2DK5pcYd5FUps3k60zKGz4bch/rq7hQ9WqlMdhOSC6YYGNLMiBmfGFP5NwuhvG dRLiDxfQR2dRKO0HuKvTFw833Fn/RA== =1RwK -----END PGP SIGNATURE----- --Vu/aZ+4oRClrdlxp--