2017-11-19 06:18:50

by Benson Leung

[permalink] [raw]
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 <[email protected]>
> Reviewed-by: Brian Norris <[email protected]>

Acked-by: Benson Leung <[email protected]>

--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
[email protected]
Chromium OS Project
[email protected]


Attachments:
(No filename) (917.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments