Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4802801ybv; Mon, 17 Feb 2020 06:17:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzCtAwR7ryY6yImApGVTpaLzDDMw50r+SgEWWmT+OWzbD1sFMk5TN6WTJ5LyE6/de+crQP9 X-Received: by 2002:a05:6830:12c3:: with SMTP id a3mr12686033otq.341.1581949032033; Mon, 17 Feb 2020 06:17:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581949032; cv=none; d=google.com; s=arc-20160816; b=rWxWF4p2NalZlK+0vp5pwi2Ias1X/pVBK37TU1WhdyljpArgeHWr8kVlhHUmMbKRhG 9DxWGj9szsUMnchGrnj6RWqhRCSCMs92q4mgH0UygLJdTHqreaNjS0h8U+3ADikit+VK w0FasHqtic6Ve2K5LDZkVs5FB52u6iEsobwOJBWtoR4zq5KQr/wzUkm7UKYxiNWcJz1R hoMCa5UUXNHAXk7ZNvppXq7YvYJ3eYa+2Q5HocTEfNPLYEqfhpdbbChwJyIwnaTgq77a 17VJWbx4fmjXvLkuLv0kJxHs5moGwa59njtkpJ2S0KUXHhOay016JlheRPzcpxDlkZZW r5Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=xelcak0979ZHSlzdhIa9rbZOSaXT+aJs1GwQ5Z2baxo=; b=OMaeAfLaf9yOAtPr//dn+AxH9SDhwh2O375ho4t/ZCsRa8cq/bDyPLVGeiv36R+Z0R dn1pqIuP32JYZjTH18ZgAmx6J8hOHLgh/+Evz71xXP9XrcUE0cbAl2IE2C/yuhvobeC6 9TvUEqskBxH0gVBz/tBKHKEuQ3twRrA8MJjQ5M2NpPImMeCDxqWCmw/OoFcQaxa3OiRp oyMruC0K4nA42moLnyeo3wg7mrvpsCRYZ/zEaL8bKL/qAM6oKfoJ/6arDHudcvLVSZuu aE9sL5aM+La81JEwR4ox/CwMET5qFaiuZoOme9j+5PrVktyJ0Kch7DquDMDoUsvCkQYT ABvw== 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 v5si6307626oix.197.2020.02.17.06.16.59; Mon, 17 Feb 2020 06:17:12 -0800 (PST) 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 S1728698AbgBQOIS (ORCPT + 99 others); Mon, 17 Feb 2020 09:08:18 -0500 Received: from skedge03.snt-world.com ([91.208.41.68]:51052 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728149AbgBQOIS (ORCPT ); Mon, 17 Feb 2020 09:08:18 -0500 Received: from sntmail14r.snt-is.com (unknown [10.203.32.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge03.snt-world.com (Postfix) with ESMTPS id 2291767A6FC; Mon, 17 Feb 2020 15:08:02 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail14r.snt-is.com (10.203.32.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 17 Feb 2020 15:08:01 +0100 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1913.005; Mon, 17 Feb 2020 15:08:01 +0100 From: Schrempf Frieder To: "u.kleine-koenig@pengutronix.de" , "gregkh@linuxfoundation.org" , "stable@vger.kernel.org" CC: "shawnguo@kernel.org" , Schrempf Frieder , "linux-kernel@vger.kernel.org" , "linux-serial@vger.kernel.org" Subject: [PATCH 1/2] serial: imx: ensure that RX irqs are off if RX is off Thread-Topic: [PATCH 1/2] serial: imx: ensure that RX irqs are off if RX is off Thread-Index: AQHV5ZupbG6XU+TGIECZ5G6IYA4w9w== Date: Mon, 17 Feb 2020 14:08:01 +0000 Message-ID: <20200217140740.29743-2-frieder.schrempf@kontron.de> References: <20200217140740.29743-1-frieder.schrempf@kontron.de> In-Reply-To: <20200217140740.29743-1-frieder.schrempf@kontron.de> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: <962D7E096387974EBA22C0DAD7FFBA16@snt-world.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 2291767A6FC.AF8F0 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, shawnguo@kernel.org, stable@vger.kernel.org, u.kleine-koenig@pengutronix.de X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4N Cg0KY29tbWl0IDc2ODIxZTIyM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