serial: pl011: change Rx burst size to half of trigger level
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Sat, 12 Apr 2014 17:47:17 +0000 (19:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 21:17:44 +0000 (14:17 -0700)
commitb2aeb775f814c9543784b15a5f2d87ea91005f3f
tree8f8bfc9a4e398303fe41a5d05abdfbdbf08ca186
parente55c2a07c4abf65d1915a7507a625c82c72fed5a
serial: pl011: change Rx burst size to half of trigger level

The amba-pl011.c driver sets DMA burst size equal to FIFO trigger level.
If now exactly DMA burst size bytes are received, the DMAC will retrieve
them all and no Rx timeout interrupt will be generated. To fix that set
the burst size to half the FIFO trigger level.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c