Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1503011pxb; Wed, 30 Mar 2022 05:10:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRMYvPTulle0fstW8kOKpsOByKqKrk2/S0Cng3jhasPqOVo7cY3EPT9WFRa9gnSEMj6fVN X-Received: by 2002:a05:6402:13d6:b0:419:2eab:d21 with SMTP id a22-20020a05640213d600b004192eab0d21mr10159881edx.78.1648642208680; Wed, 30 Mar 2022 05:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648642208; cv=none; d=google.com; s=arc-20160816; b=jgFE3AZrBpLqZFyrPxUI5LZVxe5c6z51WZqO9wjt0OdHicxCxosD/dMdaoAOiCwMc+ yzhCy8r4o9p4jJ5sIMafDGpsri/udIe9aBNvU5Nfo75L8Jez74JmgNVaE4WcGRvfQtm3 2oVltflEgtrA0eQafh96RVrgBlO77UqB2HXQjbJxJjIqd5L/VhRwOBfFjYSuYNs9ZDe9 I1akWraZ++ql/godLf0q7kDlAW0HkKjmziXOgRUeI08dtXxpoxPg23YyOFUDnOUQ8p+A e0EORXOnyA5c3wgYB2sOb5we7pnzXRS+EcTDAsCq2Lko3JnCEHtJbE7h2Q1PjTD1CfSF Zd1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=z+BvXZ/zWt41iejPrCS5z30rIl9HHZJ9Ou2ufA76kHk=; b=XjiWV9ZmP0ePVNG2rJISAKLZ6hvpnz4etNwvoNRYFeXygdZpg+dWK/k8ku2M6vlceu SizQGD2MCyxHn7OLJsLOJTFGMln7TQu1BmddXh/xdn9HBDt/DwF1yzBvSHiAEyJBwIND BKZ+VURAda7ZdkS9vkvmnp8zu8dMNPI/+hBxo040YyA2NdWQETpEw8KFNTL+2F+SVgcy kzdXVEQeakogVL3V+vwkssndK8uhTsu6RsekE2RbVd1Xljej3rZY862nrodkSM1vxjv6 7rAkvYpURamaeYKUrfPoJCOFzUpSWCUzBA50mjexnuVkhwUM0xcHOVnhLHF9bQDUgsp4 f9vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170906148100b006df76385d4csi20341217ejc.492.2022.03.30.05.09.41; Wed, 30 Mar 2022 05:10:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237194AbiC2NVN (ORCPT + 99 others); Tue, 29 Mar 2022 09:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234222AbiC2NVM (ORCPT ); Tue, 29 Mar 2022 09:21:12 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B178F13E9D for ; Tue, 29 Mar 2022 06:19:29 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-20-W4MrfOwKNYyyVGBWIKZP5Q-1; Tue, 29 Mar 2022 14:19:26 +0100 X-MC-Unique: W4MrfOwKNYyyVGBWIKZP5Q-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Tue, 29 Mar 2022 14:19:25 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.033; Tue, 29 Mar 2022 14:19:25 +0100 From: David Laight To: 'Matthias Schiffer' CC: Greg Kroah-Hartman , Jiri Slaby , Russell King , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , =?utf-8?B?SWxwbyBKw6RydmluZW4=?= , "Lino Sanfilippo" , Lukas Wunner Subject: RE: [PATCH] serial: Revert RS485 polarity change on UART open Thread-Topic: [PATCH] serial: Revert RS485 polarity change on UART open Thread-Index: AQHYQ1k5q26PsxFKq0WuXVn++R8i1qzWT4pQ///zlACAABGw4A== Date: Tue, 29 Mar 2022 13:19:25 +0000 Message-ID: References: <20220329085050.311408-1-matthias.schiffer@ew.tq-group.com> <20220329100328.GA2090@wunner.de> <749eee7dd2c7464a8c4d9ea5972205fa@AcuMS.aculab.com> <82266d339e09ad16963e16014cd836fa670b3a0c.camel@ew.tq-group.com> In-Reply-To: <82266d339e09ad16963e16014cd836fa670b3a0c.camel@ew.tq-group.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTWF0dGhpYXMgU2NoaWZmZXINCj4gU2VudDogMjkgTWFyY2ggMjAyMiAxNDowMw0KPiAN Cj4gT24gVHVlLCAyMDIyLTAzLTI5IGF0IDEyOjU1ICswMDAwLCBEYXZpZCBMYWlnaHQgd3JvdGU6 DQo+ID4gRnJvbTogTWF0dGhpYXMgU2NoaWZmZXINCj4gPiA+IFNlbnQ6IDI5IE1hcmNoIDIwMjIg MTE6MzkNCj4gPiAuLi4NCj4gPiA+IEkgZ3Vlc3MgdGhhdCB3b3VsZCB3b3JrLiBUaGUgZmFjdCB0 aGF0IGV2ZW4gdGhlIGRpZmZlcmVudA0KPiA+ID4gdmFyaWFudHMgb2YgdGhlIDgyNTAgYXJlIGlt cGxlbWVudGVkIGluY29uc2lzdGVudGx5IG1ha2VzIHRoaXMNCj4gPiA+IGVzcGVjaWFsbHkgdWds eS4uLiBJdCBjZXJ0YWlubHkgcHV0cyBhIGRhbXBlciBvbiB0aGUgZWZmb3J0cyB0bw0KPiA+ID4g bWFrZQ0KPiA+ID4gdGhlIGhhbmRsaW5nIG9mIFJTNDg1IGluIHNlcmlhbCBkcml2ZXJzIG1vcmUg Z2VuZXJpYy4NCj4gPg0KPiA+IE9uZSB0aGluZyB0byByZW1lbWJlciBpcyB0aGF0IFJTMjMyIChJ SVJDIHJlYWxseSBWLjM4KSBsaW5lIGRyaXZlcg0KPiA+IGNoaXBzIGFyZSB0eXBpY2FsbHkgaW52 ZXJ0aW5nLg0KPiA+DQo+ID4gU28gdGhl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