Received: by 10.223.164.202 with SMTP id h10csp2435875wrb; Sat, 18 Nov 2017 22:18:50 -0800 (PST) X-Google-Smtp-Source: AGs4zMZCNa2RLuU763gxhA6ypXX9O7y5YX7RR7lrUe7qsmyBr3yh6mox+WiZysashErLve/7zh1p X-Received: by 10.101.73.203 with SMTP id t11mr9881066pgs.446.1511072330110; Sat, 18 Nov 2017 22:18:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511072330; cv=none; d=google.com; s=arc-20160816; b=FMHqsjiavgTYInKtMHrL0c0mkViHk3nt2za6UoKsjFzQnntepnijCgfHs368meMmt8 ffAb1MxMiAyeEXhPqJ64n7oL4ZshfNRn4UNzhXcQ5QOCAElFnUi91Ngryf374Z1XGkKe 5jvaacunOsJqnc9IC5wP7sa8mBnWZJarvkMi+27kD54GigxoqLe4bjaGGUD4dg3JGqPu OjwzqAQFFbI0X+VKrHz1R1ndfIyyNB07If/OwUGAMWKJRIRBs8BF/TBI8j/8PWixhkMM BLp/4NYqsea7DyUprOBVDjWyTadmRhAHVQKR9XAayghe0p4D/GAdnNMfxDVWdSW3giCt ONBQ== 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:arc-authentication-results; bh=YFWTtOzRo68jFmmyILLyN9yYPmJqvO0G/1A1ep0QgV0=; b=0w6i20Bf8kUSu2lSA9l+OHbP7Vmohf0FCrE2xw4Kt/9Hhyg+QsBz4+cvjr+1gXtaZA hS8bcuRgaIbWckEtlTqIR7Ysj1OnYtPxF24hLfS2RPU3mj/MyCnUsGl/bVD1U6sfYYRq Jr99lFUYe04uDGsgSBUq47UKlkte+QkszwjhAVB2cW9tigbGUGPloqp1MvGx9KGgmM2o 5d0rKQY4J74KEqAsX7fqT9lCjg5pm5FVkJ6PEx9XglRpvtoo9+WLALBfzUPAUUXXOTqP YubI1z2oTtOz2zMj3ME4uho0RGpv7xn2lvMeKYsDN0u1kyNb1bza7JcxumG7zjixvTV6 nDmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=H5Znb1KK; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d124si1833079pgc.520.2017.11.18.22.18.37; Sat, 18 Nov 2017 22:18:50 -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=pass header.i=@google.com header.s=20161025 header.b=H5Znb1KK; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750882AbdKSGRt (ORCPT + 75 others); Sun, 19 Nov 2017 01:17:49 -0500 Received: from mail-io0-f182.google.com ([209.85.223.182]:43623 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbdKSGRp (ORCPT ); Sun, 19 Nov 2017 01:17:45 -0500 Received: by mail-io0-f182.google.com with SMTP id s37so1810281ioe.10 for ; Sat, 18 Nov 2017 22:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YFWTtOzRo68jFmmyILLyN9yYPmJqvO0G/1A1ep0QgV0=; b=H5Znb1KKEx4hbOT/cV4M5qhhy4OUknXqDEBb46T8rI4z7J6oz5lCXWWdpwAWwcQ8M+ HEhxGVDGnUT8e9ZJqRmCtP9t5k4rT0WDOZCignL9yfh7Vd0I2fSCV6ucq72Ze1uLiF8e gEU/F1yGkiXTDGaCTJLgQW/EZsERocEmHtsjnczGd/og9HvVMrQM34eRUvz3tgT2aJYt LTIVlGKMlkt/fUC2xzKM1xs9Z6OEdXfw8drABz3sm8mftVpip6oM/Y80+KYFxAdG6Bmn +IO/vR7O8i49aYywY9JmOJl62wVJT+64B9zWdalnWNeX7gDir7iZIkMjOghyYIZ1K8Z8 vpbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YFWTtOzRo68jFmmyILLyN9yYPmJqvO0G/1A1ep0QgV0=; b=fZ1OBLdCw6KlrAf7CmP5CZa9cx1TQk9ZUgpzIkvdWJiP9foiZC8HYsjzzg0c+2AgXv YDiOKaurfQnR8YlnjmJbG31/x0t1wYbSC8qzEW+K538h25FgQWV2jnrpD2BAP+/Bv2vN Jiu7Ki4djliueiSV90Pyt18UcuMO4bD63lpg+4oAPUH4bpFzpFUAaLxdPlLsoNLt3+Vz Ztwco7IgLtzSVV3cFGRmrvKwGPhpkVW+7aEjGqA9lvTLSUw+Kbr0Z49w6cuMhXgRrQ+x i99HqL1lfZ+b3WsWjh1KLBPuTNO3ury30bwXDxqU+JsMnaohqgge1GvIpysT4/QcxwJN jRuw== X-Gm-Message-State: AJaThX4vWH9ES6iF8NEAKdZFlgADedA44XS58u4bchZsBtFwgXo+8O/P JDBIOgo0m8453JhIsxTyWhJCTQ== X-Received: by 10.107.30.73 with SMTP id e70mr8680197ioe.130.1511072264766; Sat, 18 Nov 2017 22:17:44 -0800 (PST) Received: from decatoncale.mtv.corp.google.com ([2620:0:1000:1600:71d5:7632:f0c2:9868]) by smtp.gmail.com with ESMTPSA id f90sm2909960ioi.30.2017.11.18.22.17.42 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 18 Nov 2017 22:17:43 -0800 (PST) Date: Sat, 18 Nov 2017 22:17:41 -0800 From: Benson Leung To: Jon Hunter Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Brian Norris , Shawn Nematbakhsh , Benson Leung Subject: Re: [PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages Message-ID: <20171119061741.GB51565@decatoncale.mtv.corp.google.com> References: <1510670608-19594-1-git-send-email-jonathanh@nvidia.com> <1510670608-19594-2-git-send-email-jonathanh@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <1510670608-19594-2-git-send-email-jonathanh@nvidia.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jon, On Tue, Nov 14, 2017 at 02:43:28PM +0000, Jon Hunter wrote: > The EC SPI driver prevents SPI transfers being to rapidly by keeping > track of the time the last transfer was issued via the > 'last_transfer_ns' variable. Previously, if the 'last_transfer_ns' > variable was zero, this indicated that no previous transfer had been > sent and that no delay was needed. However, the EC SPI driver has > been updated to always initialise the 'last_transfer_ns' variable > during probe and therefore, it is no longer necessary to test if it > is zero. Remove the code that checks if this variable is zero. >=20 > Signed-off-by: Jon Hunter > Reviewed-by: Brian Norris Acked-by: Benson Leung --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJaESIFAAoJEB8J9XsKL+ZYU9sP/iNvH+wFBVOyQxrrlNxS4Lo5 O/C3jQuKsBxQCsbLvozvKJrW6+YjWlDT1Iur7eZ+wOB1plGCJpviOkvCJOLx3bsm jlOICN/+O8MFMxv4p0BQRyHHWqiLC35Cz0WU09PB4Im2Uw7ZLmAthGD0PZnrDjNV kcBJqCVRShrw1VKRHMhABEep0ZhNR1iOPkJnBummGCAI65OQy3XFy19RBNCTL8F2 SDgtLTVhtW9HlAzBc4NrqLb4Q+pElE0WNN5NMClL+PsGBHq1cVXwLY+90NvPIZl0 gysLhi5+Js2EAmDuSaEuP5CrPqNZc8FH/rMOWbTRRnw6Hs9vvXDh71+FkpTpMJQL tuKG1rDm9BECVsDWJPKCmASw9eQvj9W3A0XCL3KklGSQmjVBYLRZSGfHhKA50iLg 8A147dHIBW3chKv/XGHuIniqD8GKm6ufQLXL+OBQGQdcOk2MV1R4qqsqcMg2BRP2 RsbJuY4nhXXZh1SZw/Ma7Oz3UBgR1dFlWwiLrK5TljVZAUSCMo6kbUCc2BqcXlTz i7ZpyD91/goKRxAZyoKfVtCmnqiIJ27ttr9lXOnnfeKlNNxPyAIbRtNG4N3T6pT1 L/LuoSLKWpS2C2o04t6L65lE6rZW2F97A69I0T6i8mQS9xQxHsiuM1sPeMXCwPTs vRWiCFjQc69Vlcy2IZhR =sD9Z -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r-- From 1584078725037655133@xxx Tue Nov 14 21:33:15 +0000 2017 X-GM-THRID: 1584057372282433645 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread