Re: [PATCH/RFC 4/6] spi: slave: Add SPI slave handler reporting boot up time

2016-07-18 Thread Mark Brown
On Wed, Jun 22, 2016 at 03:42:07PM +0200, Geert Uytterhoeven wrote: > Add an SPI slave handler responding with the time of reception of the > last SPI message. > > This can be used by an external microcontroller as a dead man's switch. The subject says boot up time, this says time of reception of

[PATCH/RFC 4/6] spi: slave: Add SPI slave handler reporting boot up time

2016-06-22 Thread Geert Uytterhoeven
Add an SPI slave handler responding with the time of reception of the last SPI message. This can be used by an external microcontroller as a dead man's switch. Signed-off-by: Geert Uytterhoeven --- FIXME kthread_stop() hangs, as spi_write() is blocked on a completion --- drivers/spi/Kconfig