aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/buffer.c
diff options
context:
space:
mode:
authorMingkai Hu <[email protected]>2010-12-01 09:29:18 +0000
committerGrant Likely <[email protected]>2010-12-30 06:04:46 +0000
commit477ca3ad6ac5cdbd5bd40941fc22c6eedc9aa90d (patch)
tree9552afcd670e798b1d98ccc4efe2f5baae572d3d /drivers/usb/core/buffer.c
parentMerge branch 'spi' of git://git.linutronix.de/users/bigeasy/soda into spi/next (diff)
downloadkernel-477ca3ad6ac5cdbd5bd40941fc22c6eedc9aa90d.tar.gz
kernel-477ca3ad6ac5cdbd5bd40941fc22c6eedc9aa90d.zip
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 <[email protected]> Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions