Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1262510ybl; Fri, 23 Aug 2019 16:27:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOckvE+f7PdQMbxquYBVXbQGwe/ooZzr1LL5mk8o2rkGWu38R82Aq3WM31j4EUkAZYDFHk X-Received: by 2002:a17:902:a40d:: with SMTP id p13mr7389793plq.92.1566602845627; Fri, 23 Aug 2019 16:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566602845; cv=none; d=google.com; s=arc-20160816; b=nDsPWFy8uzVkk6gJ3L+1AAuvh6QMIP/RG0nBHzJQW8WocfaF3faONrAQ+9PoAt+0Og n429MwZbqoXzAjAgK0J0Qz9kkMx43gA3qTS282owd7tBhdtSTqNWAIyeV+wi+KsnAxqk 2HDQbsTA78FFCTz92aEyfVWZW0RWsGfQCt+uPcXw4BqpWEzpoMBOu9QMN0OwPL2mWlDW GaQxn2441WPxbyQU+ESI8p5Y6Nt2yI8ZsQJN5cEP1YIKKLQVwCMQlNKLvkMqWxKORoU5 fjHKOlNNtxNyyzurutbgM0UZsLJzclt60s13HGUDo8xsxz0znHbNGkc/eYcL3gDRKna4 k3og== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=U1us25dpNKCPzmF6QsdOCeVv+L+L64aKxbD8Qtpn/Bk=; b=IucHieT3+AQWOie18JW+4Z/kl/cCIcYabnDwJo6F+Tm26HIisgu9zyowxoAIr5Jn7B l4qRTd6nc939WK2yfp0blH2L5YfCZ0qsE1eHCeu4IXSSfznhGfyg9AeB2Jjr5gyg2jtU KmExeU+JLvmJZKKBWosipTKv+trtgjp0HFyYrJJViTVB+9fxmdOF6pth1lyARyUmBNE2 p7IlzmL/4d/vG+rcndmNqIm9Lb7bsqGWHgDv6IqZA6pLvK+y+UoVlA623QXsOtINiHBY f96s4PxRT6xEAjDKjiqHehaqxKrAZwzffydY/isMePsrFJQ1Xa2H4quAFcsoC6XM+Mxs +pTA== 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 z9si3647348plo.66.2019.08.23.16.27.10; Fri, 23 Aug 2019 16:27:25 -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 S2395319AbfHWOcv (ORCPT + 99 others); Fri, 23 Aug 2019 10:32:51 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:42873 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391432AbfHWOcu (ORCPT ); Fri, 23 Aug 2019 10:32:50 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i1AcM-0000Ge-T2; Fri, 23 Aug 2019 16:32:42 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1i1AcL-000574-By; Fri, 23 Aug 2019 16:32:41 +0200 Date: Fri, 23 Aug 2019 16:32:41 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Richard Genoud Cc: Greg Kroah-Hartman , Geert Uytterhoeven , linux-serial@vger.kernel.org, Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tty/serial: atmel: remove unneeded atmel_get_lines_status function Message-ID: <20190823143241.zixdsnwrtzhgkig7@pengutronix.de> References: <20190823134109.12402-1-richard.genoud@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190823134109.12402-1-richard.genoud@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 23, 2019 at 03:41:09PM +0200, Richard Genoud wrote: > Since commit ce59e48fdbad ("serial: mctrl_gpio: implement interrupt > handling"), the GPIOs interrupts are handled by mctrl_gpio_irq_handle(). Well no, since ce59e48fdbad the mctrl_gpio helper can do all that interrupt stuff. You want to reference 18dfef9c7f87b75bbb0fb66a634f7c13a45b9f8d here. > So, atmel_get_lines_status() can be completely killed and replaced by : > atmel_uart_readl(port, ATMEL_US_CSR); > > Signed-off-by: Richard Genoud Suggested-by: Uwe Kleine-K?nig Acked-by: Uwe Kleine-K?nig Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |