]> git.baikalelectronics.ru Git - kernel.git/commit
serial: imx: also update RX stats in DMA path
authorLucas Stach <l.stach@pengutronix.de>
Fri, 4 Sep 2015 15:52:43 +0000 (17:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:44:29 +0000 (18:44 +0100)
commitde13791df2e74469e2b41e70c2acbd43bb8dea61
tree49f7378bd877625b7fef5052a7679038191b5441
parente1f4649c5754ecd7a15385e2534f6dc7a41980b0
serial: imx: also update RX stats in DMA path

The RX bytecount was only updated in the PIO path and thus
the device erroneously reported a value of 0 if DMA is in
use.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c