Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1925733imm; Thu, 20 Sep 2018 05:14:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYixSEnm1qQ7qGnz0epWVBEfwNN7FEYFw8zw7HLonWZA1FCFgMueet6B3/2iePdHfGm/NWg X-Received: by 2002:a62:9c17:: with SMTP id f23-v6mr41045266pfe.209.1537445654539; Thu, 20 Sep 2018 05:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537445654; cv=none; d=google.com; s=arc-20160816; b=ksVhdn2wnxCGPBdc8yQ1sMUgyi4RX0HcayHNPd9Uhk1Dr6fPG72SgZPE02YmusOFbZ 3lctCHNf57QXz7ciGkXcR4HsY7JV8sN4ER5OOkfvxAIL2rQoFPGAcih6mX4EBCUVc1xW rXIH+YUZz6JrCzVCS3saY3u7UP+amJcf/zD/3SAiYzVHdBUXxLF9iIozvln8MGjFbY+0 K1lz4FqUvv4YYybUUJBGQAbkpn7WmPqbujeH5j7v+Ct4l0BNIxoGBM7IRhEUDmY469v0 LP8MOUdsQHFpJR1AM3VWnHrYwU0c58YYIN2p2WYFfu4ENYz00f+hlrlUj8UUm58rFH2a GZag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7O9oqhXkOvLh0/NgFSmYjMnP8bDNM5Hpe1KWZ43SAdQ=; b=HUivUPioinyzJ5EanIYTIUk4bt5Hk2gBDchHknp3sXjmKmEi0pf8QlPNyG5qHDDrhQ qzS8+Be6Qha0Q9YcKwM1I3832LktXQlMCFf4w5hmk4ekWKW4j3QwM3uhFNWI9AqiKrTP qM6Lf6F2zTZlFlf9tjoex4+2szHeRWqrZEArgDBrWUe/MY4rKxmTwz7N53pw2oq1Qfef R9coG6DML+qvccroZTqfKZZmvsAcLy+MS9DMi3XAP3Acbi4aKtTh4CMxJ0YIEbHvinUA vmSaodV2QATfz/Pur4Ov/fhVMW+CRmRbYe1AGgRJg+lpBsWej98y8u1WMcr/se2tIawJ bkPw== 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 t1-v6si23732049plb.177.2018.09.20.05.13.58; Thu, 20 Sep 2018 05:14:14 -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 S2387573AbeITRyz (ORCPT + 99 others); Thu, 20 Sep 2018 13:54:55 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38237 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbeITRyz (ORCPT ); Thu, 20 Sep 2018 13:54:55 -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.89) (envelope-from ) id 1g2xno-0006Pu-QZ; Thu, 20 Sep 2018 14:11:24 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1g2xnm-0001Jp-Vw; Thu, 20 Sep 2018 14:11:22 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Greg Kroah-Hartman , Jiri Slaby Cc: YueHaibing , linux-serial@vger.kernel.org, kernel@pengutronix.de, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Leonard Crestez , Andy Duan Subject: [PATCH] serial: imx: restore handshaking irq for imx1 Date: Thu, 20 Sep 2018 14:11:17 +0200 Message-Id: <20180920121117.19041-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180920071957.xnwni4lqb5kgncfc@pengutronix.de> References: <20180920071957.xnwni4lqb5kgncfc@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Back in 2015 when irda was dropped from the driver imx1 was broken. This change reintroduces the support for the third interrupt of the UART. Fixes: afe9cbb1a6ad ("serial: imx: drop support for IRDA") Signed-off-by: Uwe Kleine-König --- drivers/tty/serial/imx.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 4e853570ea80..554a69db1bca 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2350,6 +2350,14 @@ static int imx_uart_probe(struct platform_device *pdev) ret); return ret; } + + ret = devm_request_irq(&pdev->dev, rtsirq, imx_uart_rtsint, 0, + dev_name(&pdev->dev), sport); + if (ret) { + dev_err(&pdev->dev, "failed to request rts irq: %d\n", + ret); + return ret; + } } else { ret = devm_request_irq(&pdev->dev, rxirq, imx_uart_int, 0, dev_name(&pdev->dev), sport); -- 2.18.0