Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3383746ybf; Tue, 3 Mar 2020 05:06:46 -0800 (PST) X-Google-Smtp-Source: ADFU+vttmZSA9c0ToitQg7GHrxyp3pv/s0CKpTBcbYYelSOFph5tGKFtBNQMbu6wQFB6LdW0nHxb X-Received: by 2002:a54:4816:: with SMTP id j22mr2344025oij.179.1583240806398; Tue, 03 Mar 2020 05:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583240806; cv=none; d=google.com; s=arc-20160816; b=zI7UMdozmSeagPb3Bobf1mIlUrTuXsVg3JbPnxuye2JOFhEsQIHvYsiK0CEUgxLdtH FDgrIw7FKgVP1k7ZoDTsLe9zchk14UwOry2Rj3CUOugV60EOP77CgsFLzKu4dTHMVvkI LL7Yeqcp+TA4oeGZ2LAUNAxpShhZ1j0A/I0O9IVDRhGpggoNwb14iCxDM6VHw+oHSnjR KVLIL8aeuZTpOtwoQsBWoEpaBB+5ZICMxtVsadFiUedZBKXizqTR0dHBSkh3uEUIV/mk OP1PicdkpohYD/jhsXu2OpZNF40i6VYHLaZCeljceseTjQ+cgCW3t6GnPhSFfaDtZCVd /y3g== 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; bh=044UYjZT4SSbVtehGTLNQnkP9+qCXgs6Amiefo4tRXI=; b=iQXqD4vrsavqgxTtU8DKOUv073IzbxA0KlcMh1EdEk7L4pG7IxLTZO8eSyLpLFzfex 4Lfc5LWvD07Ve06PlmJHGXYMKePLHKKh9zo7cWBVYv24x4JPx1pak7byl4RWbhaQ6Sdd FbiulHTyiVUotvg5gh74IMcZYW/JTkPLnGw89M+wdDODQizNHQbrHtmV1eHSum+yNVfl Kk34OkzKKBXmDiG/tBzKc3keBoU5AHqEPqaXQq0N4Yo+2Ls6S5BUdsu8Vx85x6zaLRyS ySczmlPdCpqcA1uxcO+0qFy8ExscrrrT87wwQcN8kUpS/+MC4T//VX8obgYWl+V4BF3x ctpg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si8332482otq.250.2020.03.03.05.06.26; Tue, 03 Mar 2020 05:06:46 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728420AbgCCMnl (ORCPT + 99 others); Tue, 3 Mar 2020 07:43:41 -0500 Received: from foss.arm.com ([217.140.110.172]:46538 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727922AbgCCMnl (ORCPT ); Tue, 3 Mar 2020 07:43:41 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 82C99FEC; Tue, 3 Mar 2020 04:43:40 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 050CE3F534; Tue, 3 Mar 2020 04:43:39 -0800 (PST) Date: Tue, 3 Mar 2020 12:43:38 +0000 From: Mark Brown To: John Garry Cc: Geert Uytterhoeven , linux-spi , Linuxarm , Linux Kernel Mailing List , MTD Maling List , Andy Shevchenko Subject: Re: [PATCH RFC 1/3] spi: Allow SPI controller override device buswidth Message-ID: <20200303124338.GD3866@sirena.org.uk> References: <1582903131-160033-1-git-send-email-john.garry@huawei.com> <1582903131-160033-2-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IDYEmSnFhs3mNXr+" Content-Disposition: inline In-Reply-To: X-Cookie: Drilling for oil is boring. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IDYEmSnFhs3mNXr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 03, 2020 at 09:42:45AM +0000, John Garry wrote: > However, maybe another callback could be introduced, .early_setup(). One thing I like about the explicit core code is that it makes it much easier to see which drivers are doing the worrying thing, with just overwriting things in a callback everything is very freeform and you have to audit things individually. --IDYEmSnFhs3mNXr+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEyBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5eUPkACgkQJNaLcl1U h9BYcAf4kl/gydZycwZtTddrolWZTe5aGp9hdBn91H5K4i0f3Sp/wzjZi9Z7NMLZ hFT1kd7fwU9kHr5QBDt66s8mnC/A8WU/yLekP7hKQkumLFBXT+EzpW4ZsD0OFB8R KvAr5BCFqvJMdRPYCqsqi1nvZwNA4jYhWXp5sGlT3T/4GH0ulhQDZghULkx+8e06 Kd23pOwyQmDQgwVTqQ/YuB36cPzriYsoxu3vijQZLIVGO4K/PPqiaoq5Af1EiGlr mcwa0IaW3IMQbjLk5KPuITz8YUMrPryVc+unOuertCfFYoHcYmgIO/Aq6yOpnbRl UajtjXoFfB5jRdSGvoDFHjZcfYfJ =FOcd -----END PGP SIGNATURE----- --IDYEmSnFhs3mNXr+--