From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 773AFC3A589 for ; Thu, 15 Aug 2019 22:30:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A773206C1 for ; Thu, 15 Aug 2019 22:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565908251; bh=e4qKT69csc18sKdf1FerVD+VbkOl0YLnYJnrWeeVt7U=; h=Subject:To:From:Date:List-ID:From; b=eBBrPb7eEONBDdtwjUeZp4+K+Pwryu9Yrscp1JOAPMJR/IUayguQH72LiaBmEBzp3 raiqpOPa7UrXgKZ69WBwrkOr2wd1XbogI8eUcV9FJRmMf0072qEiwS0Hidp95wiyts IzA4MggGSSaKgxWpzqwFT1mdJNugQ8RR/W0yTRhA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731679AbfHOWau (ORCPT ); Thu, 15 Aug 2019 18:30:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:35016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730790AbfHOWau (ORCPT ); Thu, 15 Aug 2019 18:30:50 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3204C206C1; Thu, 15 Aug 2019 22:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565908249; bh=e4qKT69csc18sKdf1FerVD+VbkOl0YLnYJnrWeeVt7U=; h=Subject:To:From:Date:From; b=fKHMDBUyOl0oK39lZp4IV5fRhZNEiBQAO1lWdkt1LhvzEcQx/yaHdD2wkVLZDvHdR M3rd2dQ9QgoCNtN0u/bmzqH/RUHoScMmSdMgcoDmXnxejaOWJ1ovvlob8K0bn/R5Pz GOkeFyXNQoBANdTU/GwWmSqq08dC+umbCu6Yd9ZM= Subject: patch "tty/serial: atmel: reschedule TX after RX was started" added to tty-next To: razvan.stefanescu@microchip.com, gregkh@linuxfoundation.org, stable@vger.kernel.org From: Date: Fri, 16 Aug 2019 00:30:39 +0200 Message-ID: <15659082397949@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a note to let you know that I've just added the patch titled tty/serial: atmel: reschedule TX after RX was started to my tty git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git in the tty-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. >From 1bc102260d278de0af89c58536f4bbabd2ef28be Mon Sep 17 00:00:00 2001 From: Razvan Stefanescu Date: Tue, 13 Aug 2019 10:40:25 +0300 Subject: tty/serial: atmel: reschedule TX after RX was started When half-duplex RS485 communication is used, after RX is started, TX tasklet still needs to be scheduled tasklet. This avoids console freezing when more data is to be transmitted, if the serial communication is not closed. Fixes: 69646d7a3689 ("tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped") Signed-off-by: Razvan Stefanescu Cc: stable Link: https://lore.kernel.org/r/20190813074025.16218-1-razvan.stefanescu@microchip.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/atmel_serial.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 19a85d6fe3d2..9a54c9e6d36e 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -1400,7 +1400,6 @@ atmel_handle_transmit(struct uart_port *port, unsigned int pending) atmel_port->hd_start_rx = false; atmel_start_rx(port); - return; } atmel_tasklet_schedule(atmel_port, &atmel_port->tasklet_tx); -- 2.22.1