commit | 32ede4a51754cb62b0d43d91cb7c4e3c57069a9c | [log] [tgz] |
---|---|---|
author | Jon Hunter <jonathanh@nvidia.com> | Fri Oct 09 14:50:02 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 21:07:57 2015 -0700 |
tree | 0244e41e96e47bef06e1438f08dc98620d54e791 | |
parent | b0e066ccb5b2c474385fe10dbb385bde10738177 [diff] |
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>