]> Git Repo - J-u-boot.git/commit
spi: exynos: Support SPI_PREAMBLE mode
authorRajeshwari Shinde <[email protected]>
Tue, 28 May 2013 20:10:38 +0000 (20:10 +0000)
committerJagannadha Sutradharudu Teki <[email protected]>
Sun, 2 Jun 2013 18:34:40 +0000 (00:04 +0530)
commite4eaef8910df805d511b1cb9b2caafa7d2827fdc
treefc58af501f7a5e5e125133c99c349c3cc1c81d6b
parentbb786b84bdbcfe0474d53a54c82c5695494a6ab5
spi: exynos: Support SPI_PREAMBLE mode

Support interfaces with a preamble before each received message.

We handle this when the client has requested a SPI_XFER_END, meaning
that we must close of the transaction. In this case we read until we
see the preamble (or a timeout occurs), skipping all data before and
including the preamble. The client will receive only data bytes after
the preamble.

Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Rajeshwari Shinde <[email protected]>
Reviewed-by: Jagannadha Sutradharudu Teki <[email protected]>
drivers/spi/exynos_spi.c
This page took 0.034718 seconds and 4 git commands to generate.