OSDN Git Service

xilinx_uartlite: Accept input after rx FIFO pop
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Wed, 5 Dec 2012 06:53:44 +0000 (16:53 +1000)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Wed, 5 Dec 2012 08:20:36 +0000 (09:20 +0100)
commit80625b97b52836b944a6438e8e3e9d992e6a00b6
tree8177d9e996619406999d812002c6d9bd287baeaf
parent859cc10d23e619153670fc58683373fa24d25b68
xilinx_uartlite: Accept input after rx FIFO pop

The device return false from the can receive function when the FIFO is
full. This mean the device should check for buffered input whenever a byte is
popped from the FIFO.

Reported-by: Jason Wu <huanyu@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/xilinx_uartlite.c