]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a2a1d495512846593e41e0f16adb02222b8601c
tree8f8bfc9a4e398303fe41a5d05abdfbdbf08ca186
parent5b2e5371bb038632eb4142e32ec6873a92ca2500
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