Re: [PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-18 Thread Benson Leung
Hi Jon, On Tue, Nov 14, 2017 at 02:43:28PM +, 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

Re: [PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-18 Thread Benson Leung
Hi Jon, On Tue, Nov 14, 2017 at 02:43:28PM +, 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

Re: [PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-14 Thread Doug Anderson
Hi, On Tue, Nov 14, 2017 at 6:43 AM, 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,

Re: [PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-14 Thread Doug Anderson
Hi, On Tue, Nov 14, 2017 at 6:43 AM, 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

[PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-14 Thread Jon Hunter
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.

[PATCH V2 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-14 Thread Jon Hunter
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.