[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171119061741.GB51565@decatoncale.mtv.corp.google.com>
Date: Sat, 18 Nov 2017 22:17:41 -0800
From: Benson Leung <bleung@...gle.com>
To: Jon Hunter <jonathanh@...dia.com>
Cc: Lee Jones <lee.jones@...aro.org>, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org,
Brian Norris <briannorris@...omium.org>,
Shawn Nematbakhsh <shawnn@...omium.org>,
Benson Leung <bleung@...omium.org>
Subject: Re: [PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling
between SPI messages
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.
>
> Signed-off-by: Jon Hunter <jonathanh@...dia.com>
> Reviewed-by: Brian Norris <briannorris@...omium.org>
Acked-by: Benson Leung <bleung@...omium.org>
--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@...gle.com
Chromium OS Project
bleung@...omium.org
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists