Fix a race condition in the receive path and simplify/clean-up the serial-tegra driver. This has been tested on a tegra124 by using zmodem protocol to transfer a file from PC to the tegra device and verifying the downloaded file matches the original. Jon Hunter (4): serial: tegra: Handle another RX race condition serial: tegra: Remove unnecessary return statements serial: tegra: Remove redundant code and check in tegra_uart_stop_rx() serial: tegra: Add helper function for handling RX buffer drivers/tty/serial/serial-tegra.c | 94 ++++++++++++--------------------------- 1 file changed, 28 insertions(+), 66 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html