Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1193659iog; Sat, 25 Jun 2022 03:25:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uCBj40cbgjRHeEQb32/ocSQcxjuRrQhW4M6feKqoUps04i/6QTDkrM8+AbKiUtTWsQDurn X-Received: by 2002:a17:902:eb92:b0:168:911c:5946 with SMTP id q18-20020a170902eb9200b00168911c5946mr3623542plg.167.1656152741475; Sat, 25 Jun 2022 03:25:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656152741; cv=none; d=google.com; s=arc-20160816; b=sU2dF3uoEqz7VliCa6hJ+qm/oXKPEqvp3hl7tBcG7oQ4mTD/WlK/Z6EbV6PqJKKv6X eh4F5B/UJP0Dbp5Vl8JQij8ZHlXwKsu28NMGIIg0lIP/R6OX6bVZ0M6cMKHJ9vE9HrbS c0s6dg/pka12Rw9LTpn8nBgI3ltuNtdoi2oonIXrxqjSKp6rFsMOmkslWcJpPmKI2W9p OZe0N54PAYH5CddO90xW7Y7onTKJDfShnaNv00vxSgWeV5zSjlhnSHuUZEJLc7egyAu+ ieIzEaci2Hy4uYDt8kguzbSfwDz2Be+/S5XP6mVmg8UjZoRW3aDNMaNQUqZ2VUpxUpNb rrJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=X4Z83ON+ZReWkw9uIVYOO9xE6qSZhD5gKi2VQ16Eywg=; b=BIsr2v6XeUUlYqCPdrShZlKCLGHYWnSks9ztl9+0aEWhFv8FZ3ELrEN+sSTXgf4/bQ cRpRT3pmFNOW+7fQ1Hw7bK1myH5lh/Zy9t+OY157tu+ObswJtIB6ksKrmfhO8zBNGjth IBKDpD1ynMRdDaQnYvdKM2b6OXyZQ4H+hWUoqUQSkZ4bXaUhx71B3PC2EtxOGnjRHGM6 NkQrnSaNi/Hfevip58a7bjzgx203mYA1ntdfrXndWzXvCLX/MFBsiZ0EAstU8yBzWBrZ g+CX5rDQPT1nCqfPSmHE6SZJc6nD1TdioqyffsTKbVNEy3e/ovWv8iIFteQkZ4IZK6+m 8cAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="BaLy4/+K"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cd22-20020a056a00421600b0050fac0168c6si4902538pfb.49.2022.06.25.03.25.27; Sat, 25 Jun 2022 03:25:41 -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; dkim=pass header.i=@intel.com header.s=Intel header.b="BaLy4/+K"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232314AbiFYKSw (ORCPT + 99 others); Sat, 25 Jun 2022 06:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbiFYKSu (ORCPT ); Sat, 25 Jun 2022 06:18:50 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 502AB3135E; Sat, 25 Jun 2022 03:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656152330; x=1687688330; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=gJbqmWGSWc7kbnlUxtaPxL9OQGLKwA2qsDHVxSO8y60=; b=BaLy4/+KpDb2uZrMNhOqQ+PdUT/aauLwoXyzGgRRKZAecOnnjLmCNrT/ ROYjkp4OznPrYrRe/jB+b7hTlEuKerOijA753X9QXUjyawVFFWS7QS0dr hnf3VaTlmtw15AmjwRbtdNs5wL8NoBFgVLa8iqpBvmFlAEWTIGx3HjnQX RAgf61EUlsZlZb2/p0PerILQaCS1kC9+9WgN0oJg9kZ8QQbHwvWvjUM+2 /5TGRjtA72OMbyA+Kduxck7TdAbyV+EdUqRi6YMQnTn5pu01T0WYPrpWj lDw76ZJXbqryeQHL5BmIK2d46tgUtDuuKE5iDopJlp7MSY0QEG6OAERHy Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10388"; a="345175299" X-IronPort-AV: E=Sophos;i="5.92,222,1650956400"; d="scan'208";a="345175299" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2022 03:18:48 -0700 X-IronPort-AV: E=Sophos;i="5.92,222,1650956400"; d="scan'208";a="645650027" Received: from selvaku-mobl.ger.corp.intel.com ([10.252.60.244]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2022 03:18:45 -0700 Date: Sat, 25 Jun 2022 13:18:43 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Lino Sanfilippo cc: Greg Kroah-Hartman , Jiri Slaby , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Andy Shevchenko , vz@mleia.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-serial , LKML , lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo Subject: Re: [PATCH 8/8] serial: 8250: lpc18xx: Remove redundant sanity check for RS485 flags In-Reply-To: <20220622154659.8710-9-LinoSanfilippo@gmx.de> Message-ID: <56f9df76-5514-2aa8-54cc-f0589023fe2@linux.intel.com> References: <20220622154659.8710-1-LinoSanfilippo@gmx.de> <20220622154659.8710-9-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1795890806-1656152328=:1653" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1795890806-1656152328=:1653 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Wed, 22 Jun 2022, Lino Sanfilippo wrote: > From: Lino Sanfilippo > > Before the drivers rs485_config() function is called the serial core > already ensures that only one of both options RTS on send or RTS after send > is set. So remove the concerning sanity check in the driver function to > avoid redundancy. > > Signed-off-by: Lino Sanfilippo Reviewed-by: Ilpo J?rvinen -- i. --8323329-1795890806-1656152328=:1653--