diff options
author | Mingkai Hu <Mingkai.hu@freescale.com> | 2010-12-01 09:29:18 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-30 06:04:46 (GMT) |
commit | 477ca3ad6ac5cdbd5bd40941fc22c6eedc9aa90d (patch) | |
tree | 9552afcd670e798b1d98ccc4efe2f5baae572d3d /Documentation/w1/w1.netlink | |
parent | 94a544a4e8d05a027613443c529c399c39cc3371 (diff) | |
download | linux-fsl-qoriq-477ca3ad6ac5cdbd5bd40941fc22c6eedc9aa90d.tar.xz |
spi/fsl_espi: change the read behaviour of the SPIRF
The user must read N bytes of SPIRF (1 <= N <= 4) that do not exceed the
amount of data in the receive FIFO, so read the SPIRF byte by byte when
the data in receive FIFO is less than 4 bytes.
On Simics, when read N bytes that exceed the amout of data in receive
FIFO, we can't read the data out, that is we can't clear the rx FIFO,
then the CPU will loop on the espi rx interrupt.
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/w1/w1.netlink')
0 files changed, 0 insertions, 0 deletions