Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5738159imu; Tue, 13 Nov 2018 10:56:46 -0800 (PST) X-Google-Smtp-Source: AJdET5fIiDH+6ayoFv0QKU9UXZUOy/dp41mpC4MwD6NGUS2UE0B4+GZbIUFA4gbdmL6srgO6Vgke X-Received: by 2002:a63:c10f:: with SMTP id w15mr5759152pgf.199.1542135406146; Tue, 13 Nov 2018 10:56:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542135406; cv=none; d=google.com; s=arc-20160816; b=hH4ZXOYqxuxTNA/5ELDUEoqz3GgGpNPYStioo6MMcXh0zFBIfNKqzAeXAoosAORxU4 4plhwrA9+dr/G/9LT5L01y7AO6Jjfgld+9fBXPdgqUdbY1Ib5KRoigyUd8QFEVWf+ZIp oG8kZh3ApJmJY3f/jQONCIHZnpprgzo0AtaxKGgE3/HY/IfXOLpFofpVk86ubed8O2i8 CUBQHDf4kiqBoOajCw1zBS2DyJvIHS/OehN+/Lzyn0Gp7P1sieJId9hMpOIFIV42i0A8 quhEbI/90dvv+XKLR/5PkldkHTUXaRBwHPqi7aSHcos2yFV+v593iQPjc4fNshNzuFFk SOfw== 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:dkim-signature; bh=DnVtak1nbyydFDF5nt2kRUo/xeSlY4SlRgz+EH3DTDc=; b=sN3g8lBONEJcR/aksDOscNtt3mySf0biqEEcbVbsea96xO2Ao842mo0xxZjDkM/cdR 40Jal7FZPIBDqJw7THY1suNlkdvbvrIPW+iyIQsTtua997HcGPmwAOv09a9+UZepNvkZ aYjSNZqBOugKUYBfwAJ5h8h8/sEPj+J8jini42FauBaWPFDVhLpqrNM52r+F2N3qYsXt Ry9yZeCUArSN1wAV98btslUWYZ4M4CRl2Sz71wpaVQKxJExJ4eW1zUC+VViDJLNV1Vy2 E35he5AAXzf1de2Q1W/PuDC4C57WYsKGSBGN1F9pnRhvEg7DZs6dZt4HoIGPBoeyOG0q SDfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=guMjqIzw; 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 n11si5235181pgj.373.2018.11.13.10.56.30; Tue, 13 Nov 2018 10:56: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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=guMjqIzw; 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 S1729768AbeKNEzZ (ORCPT + 99 others); Tue, 13 Nov 2018 23:55:25 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51876 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbeKNEzZ (ORCPT ); Tue, 13 Nov 2018 23:55:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DnVtak1nbyydFDF5nt2kRUo/xeSlY4SlRgz+EH3DTDc=; b=guMjqIzwFvedZB2XNOEO/uvx2 VcF4n23PfyCRRwQCqv9nHBQyu9ClWXc+v4ygeysohcgQFpMPqk0M3z/IuY86Fl8XBvIgR4zskv7uD ZMkbkZ4L72+1+J+e+7pUf/b3+S60E3IUAQVp5Ig3hQ9RCBwyyZ5hYUFwR0jBBJ+x/Wppg=; Received: from [64.114.255.97] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gMdqx-0002RR-Uw; Tue, 13 Nov 2018 18:56:00 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id DF44F440078; Tue, 13 Nov 2018 18:55:53 +0000 (GMT) Date: Tue, 13 Nov 2018 10:55:53 -0800 From: Mark Brown To: Clark Wang Cc: "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] spi: lpspi: Add Slave Mode support for LPSPI Message-ID: <20181113185553.GH2089@sirena.org.uk> References: <20181112064439.28584-1-xiaoning.wang@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fd5uyaI9j6xoeUBo" Content-Disposition: inline In-Reply-To: <20181112064439.28584-1-xiaoning.wang@nxp.com> X-Cookie: No Canadian coins. 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 --fd5uyaI9j6xoeUBo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 12, 2018 at 06:47:08AM +0000, Clark Wang wrote: This looks fine so I'll apply it but it would have been easier to review if it were split up a bit. There's mechanical changes like: > -static int lpspi_prepare_xfer_hardware(struct spi_master *master) > +static int lpspi_prepare_xfer_hardware(struct spi_controller *controller) > { ...the conversion to controller... > - temp = fsl_lpspi->txfifosize >> 1 | (fsl_lpspi->rxfifosize >> 1) << 16; > + temp = fsl_lpspi->watermark >> 1 | (fsl_lpspi->watermark >> 1) << 16; ...and this renaming which could be done separately. --fd5uyaI9j6xoeUBo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlvrHjcACgkQJNaLcl1U h9CqdAf/eJJqAdJUEK87WQhfD7sBXmFhKGThuhUcgwYKb7isdl1xkibKfN5kgCvk N12GiRmAS1BogZ+hUXthwW/VbgaZNnD86ks3gFDVtDja+2/c2naA4OUcDYPq4ufu WGFQc0aXkIh97n4FHBITKwvSGvzh5jjwb86lK5Vs2h3aZWACxYFql4Bt82uF1oQX 0jINrdAw3Fkw3X5pUt9Nrt0RfmhGvDy+ZoD6wHIHAb6rTEfqvI+C36VGU1uq8r7G 4jVzFrRqhhPJmgnLx6u07GrpjTkYBB4tNCqLetvCcDbELXOxl/meNkgyMbAfPVri MwKKpxO283UBVUpaAH45YPgjaQbbWw== =X2V7 -----END PGP SIGNATURE----- --fd5uyaI9j6xoeUBo--