diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2015-10-09 16:50:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 07:07:57 +0300 |
commit | 32ede4a51754cb62b0d43d91cb7c4e3c57069a9c (patch) | |
tree | 0244e41e96e47bef06e1438f08dc98620d54e791 /drivers/sfi/sfi_core.c | |
parent | b0e066ccb5b2c474385fe10dbb385bde10738177 (diff) | |
download | linux-32ede4a51754cb62b0d43d91cb7c4e3c57069a9c.tar.xz |
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/sfi/sfi_core.c')
0 files changed, 0 insertions, 0 deletions