From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757340AbbJINuM (ORCPT ); Fri, 9 Oct 2015 09:50:12 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:14070 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbbJINuJ (ORCPT ); Fri, 9 Oct 2015 09:50:09 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Fri, 09 Oct 2015 06:42:27 -0700 From: Jon Hunter To: Laxman Dewangan , Greg Kroah-Hartman , Jiri Slaby , Stephen Warren , Thierry Reding , Alexandre Courbot CC: Viresh Kumar , , , , Jon Hunter Subject: [PATCH 0/4] serial: tegra: One fix and a few clean-ups Date: Fri, 9 Oct 2015 14:49:58 +0100 Message-ID: <1444398602-24020-1-git-send-email-jonathanh@nvidia.com> X-Mailer: git-send-email 2.1.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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