Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1826171imm; Thu, 12 Jul 2018 08:25:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe3Lx6TA5iIVJPc0ZtfKafaEj43Xd/mMCA/l2y+E1PqVyGXf+ClLrroV46F9s7XuKacO6n8 X-Received: by 2002:a63:5b0d:: with SMTP id p13-v6mr2597661pgb.202.1531409143928; Thu, 12 Jul 2018 08:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531409143; cv=none; d=google.com; s=arc-20160816; b=XNH5CeaMuTZCAqX9HC9KnYkHG9wegvJoxW7AnvSO0E+UG2Zd+8AclVfoVTsoTTZS5j Q8S5ZhqwPpRAr/wvUPHgEst171Wn0pJVWYdjsPea5E36HLrphC+P2hXW6PDw+dtwjzwq anQ7cEC/tZFFPCMB8L1AUypDUlcKUtv8QIxld/qh17DVIbvN85Fw5kdvDdjQKvA4Ay55 dqPGpdq8P6MAea+L3UmLwlWgG60DBXqRS9Kta2kOLQy//qF94HIQy/128RdsjkiQMrk6 DqC7ZWkKqB1OYQWIhSTeA3rQV3/Gk9ca/+LIfmb3WJYSfhlMpp4uF+eScgEJPyG1RMbT SOrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=k1oSbAMQQyi5vW+jNWHSG2+tJjNg5oRKX35M8+ET4Eg=; b=E+4h2VINxENm0AxeCAjP9kcib1Dza7Zr0YDnk+VWvWMucHEYIh7NH4hAs9cfsuqvR5 TxsBH8rKiYz932Kk3LhwboQSQD+k4cnSUzzDwwrnOq/M8b5u9q2Ki05itIRnQZIPOVMP 0dZVyDqAJBTsjMbUUXPIV35hL/SUtzYVnOa9gWxeZfzLH2MtAHd6iJWYncUec49PXSVh 1s3j8MzJbtlymDdf1r+H0P1XgRGpiMUPUh9Sb+f9Pg87Y/zbNMy7Vm1WQbxM0QFSSAek sjFMIi94m8W895sM1vy9CCLVk+scUWrQEk6IlKoNnj7mdYTua8voa2xEGvg4eeLooNhq xRPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s64-v6si20772647pgs.499.2018.07.12.08.25.28; Thu, 12 Jul 2018 08:25:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732401AbeGLPey (ORCPT + 99 others); Thu, 12 Jul 2018 11:34:54 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:1964 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbeGLPex (ORCPT ); Thu, 12 Jul 2018 11:34:53 -0400 X-IronPort-AV: E=Sophos;i="5.51,343,1526367600"; d="scan'208";a="13496163" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Jul 2018 08:24:51 -0700 Received: from localhost (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Thu, 12 Jul 2018 08:24:51 -0700 Date: Thu, 12 Jul 2018 17:23:41 +0200 From: Ludovic Desroches To: Greg KH CC: , , , , , , , Subject: Re: [PATCH 3/3] tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode Message-ID: <20180712152341.p4lmjyldujv6et56@M43218.corp.atmel.com> Mail-Followup-To: Greg KH , linux-arch@vger.kernel.org, alexandre.belloni@bootlin.com, arnd@arndb.de, richard.genoud@gmail.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, jslaby@suse.com, linux-arm-kernel@lists.infradead.org References: <20180711131638.12622-1-ludovic.desroches@microchip.com> <20180711132623.13227-1-ludovic.desroches@microchip.com> <20180712145827.GB22502@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180712145827.GB22502@kroah.com> User-Agent: NeoMutt/20180512 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 12, 2018 at 04:58:27PM +0200, Greg KH wrote: > On Wed, Jul 11, 2018 at 03:26:23PM +0200, Ludovic Desroches wrote: > > From: Nicolas Ferre > > > > In atmel_shutdown() we call atmel_stop_rx() and atmel_stop_tx() functions. > > Prevent the rx restart that is implemented in RS485 or ISO7816 modes when > > calling atmel_stop_tx() by using the atomic information tasklet_shutdown > > that is already in place for this purpose. > > > > Signed-off-by: Nicolas Ferre > > --- > > drivers/tty/serial/atmel_serial.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > Did you send this patch twice? > > confused, Yes sorry, as I didn't receive patch 3/3, I resend it. At the end, it was sent twice. Regards Ludovic > > greg k-h > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel