
11 May
2013
11 May
'13
5:05 p.m.
On Sat, May 11, 2013 at 9:04 AM, Simon Glass sjg@chromium.org wrote:
From: Rajeshwari Shinde rajeshwari.s@samsung.com
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 sjg@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwari.s@samsung.com
Changes in v2:
- Remove preamable_count variable which is not really needed
- Fix checkpatch warning (multiple assignments)
This v2 patch fixes the nits reported.
Acked-by: Simon Glass sjg@chromium.org