Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6199190iog; Thu, 23 Jun 2022 13:29:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sSdop7IBmTny3v+CvrE8ZQ14aL4If06MfBBp+7wjghxYxv+xu0QxK4EUuJFITbxjmKTrDf X-Received: by 2002:a63:e952:0:b0:40d:133a:4716 with SMTP id q18-20020a63e952000000b0040d133a4716mr9073419pgj.320.1656016191204; Thu, 23 Jun 2022 13:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656016191; cv=none; d=google.com; s=arc-20160816; b=WKGX5CXwIpFtxm38xMCQbbAZVioIkhdhiOcqt48G0h1SjH1/fG2Z3hjNzqAF2sW6Xa N+YblO4xZvG9O+d65E8uQTA1tAcZ6r3FS8pUIGhFBjBeaUjx49bsFFvoiCVKqknwDPqD EtKd3/viVC8VCroIIIh+5Yb9bnDvWYP3ErNFjQUsm8uqs08dIu33xG7zHwhBD87H/b2b GYwrOQXG9eXGkNce0ffpUG4PYoNGZD2bp6RE4klcU3OSq3gx1sdi2yz8/o2JyTaSU7aK ISlGqQBvc9q+mSOQqTc5CL5eRJMiJ3s2OC7pl3M8+vIkgMF/g1UTvKsZGAYZ9Gmrgvh7 0CAQ== 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 :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=lOBQVh1VZdht+A1koTzMveKuLLqI+//fge7PuwIEsv4=; b=eE9VQieTqbosjvqH2OUUZyaFmrSH2KT+zl/TIh8kRfCxldP/lZO0sHjtMLAu7bbLTi cRPDjRbvs/s8l1+virLdSpq3KhmpYA8ajc6MeBiLHtyJhWsPCBmKpFPTmuOF/tRhECrw pUBij7ipVrU6ya6cppE32HoIou0GqCFcLIjsNFY7Whhpt84fbRSSH3zVkncAUcspSHT1 CkMqBSnKkn0J+dPV7TDc81f+YeSBKSo8QgOJHzk5N7Dg5FNWfZy8hRNcvuRcLB6FUECH 3QOfYPq61IsARz+vIowFUElSEH3Jq/M9+RyTmEaQdiWd4fx6X2Vzc1BKz7jmpSkCrfe2 Jzeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=DkyC7Ooz; 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=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170903228900b0016184b32d35si765398plh.174.2022.06.23.13.29.38; Thu, 23 Jun 2022 13:29:51 -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=@gmx.net header.s=badeba3b8450 header.b=DkyC7Ooz; 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=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbiFWUSF (ORCPT + 99 others); Thu, 23 Jun 2022 16:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiFWUSD (ORCPT ); Thu, 23 Jun 2022 16:18:03 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65FEE1117A; Thu, 23 Jun 2022 13:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656015467; bh=vfPNIRhnq1OdqJcq3jU+UUkt3Jq6ykiRIvEk6ESnqV0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=DkyC7OozGGUP4BgihSdq1Ua5uwN0i8zct8Io6R/54SEo6xP03uyPzTKb8mFcBfN1G ECmXjjaYQIWMQOuYB5TJs7HZz5nJsnpqbQm/yEM7G261RIIjmvo+dpJ2YQefLT6FdY Mxfiq6rtQkpCOUMFL7ilV+UFKtcOxvonCtHio5/g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.0.33] ([46.223.3.134]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXp5Q-1o9wta45ts-00Y6cL; Thu, 23 Jun 2022 22:17:47 +0200 Subject: Re: [PATCH 3/8] serial: core: move sanitizing of RS485 delays into own function To: Andy Shevchenko Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, ilpo.jarvinen@linux.intel.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, vz@mleia.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo References: <20220622154659.8710-1-LinoSanfilippo@gmx.de> <20220622154659.8710-4-LinoSanfilippo@gmx.de> From: Lino Sanfilippo Message-ID: Date: Thu, 23 Jun 2022 22:17:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:MlIZNCB/cKHnao/KkKQQo64o6gBA+Mg8XtF0OQE+LZm4qmSzN6e bBYdoqQDTqaOs+uf9KVAYNz1svthz8PFn9hqYe0V5pis0o8lWanxkWT3WgIZIXAchlK45r2 OTHQa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JlIHPwQhq6M3qRyYgHDnU0RK+tg+D QR4TdNwFczfg+6F5jC/js//NTPX3lBY37uXBtSPobjEfN37i8Int0CBoUCLsTZHRMTipbG+Fz n5+Ip5yXDTSMVSslnTUXxkEMy/qNuGe/0lzZMexrzbfx+dcYds2JPcrxAbV6qMKdkrn9X6z/e vWHYTvS7LDPw3Hz45sss0Xm9EFoTg/o6eFnuTwOM3rQ45w0j3W4iRVchg== X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 On 23.06.22 at 18:25, Andy Shevchenko wrote: > On Wed, Jun 22, 2022 at 05:46:54PM +0200, Lino Sanfilippo wrote: >> From: Lino Sanfilippo >> >> Move the sanitizing of RS485 delays out of uart_sanitize_serial_rs485() >> into the new function uart_sanitize_serial_rs485_delays(). > > ... > >> + /* pick sane settings if the user hasn't */ > > Be consistent with the style (capitalization) of one-line comments. Ok, I will adjust this. > (Below is left for a context) > >> /* Return clean padding area to userspace */ > Regards, Lino