diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2015-10-09 15:50:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 06:07:57 +0200 |
commit | 32ede4a51754cb62b0d43d91cb7c4e3c57069a9c (patch) | |
tree | 0244e41e96e47bef06e1438f08dc98620d54e791 /drivers/tty/serial/lpc32xx_hs.c | |
parent | serial: tegra: Remove redundant code and check in tegra_uart_stop_rx() (diff) | |
download | linux-32ede4a51754cb62b0d43d91cb7c4e3c57069a9c.tar.xz linux-32ede4a51754cb62b0d43d91cb7c4e3c57069a9c.zip |
serial: tegra: Add helper function for handling RX buffer
In the tegra UART driver there are three places where the RX DMA buffer
is handled and pushed up to the tty layer. In all three instances the
same functions are called and so instead of duplicating the code in three
places, move this code to a new helper function and use this new function.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/lpc32xx_hs.c')
0 files changed, 0 insertions, 0 deletions