Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp4353894pxp; Tue, 15 Mar 2022 19:19:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyxxer9g7HBHpr5FcSe40Z5OAXUz6bMYUGAgaCodJU/jLXAXbGXOwGDTGu4HaypwY2juyJ X-Received: by 2002:a65:6794:0:b0:36c:460e:858d with SMTP id e20-20020a656794000000b0036c460e858dmr26348813pgr.418.1647397150405; Tue, 15 Mar 2022 19:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647397150; cv=none; d=google.com; s=arc-20160816; b=kBibt1cU5l/NsPdKBXg0blTng+7qF3U4yyCo+TqhzL27hZZ8gAbcor0xr1lYrTeBg6 VU+yHzAtRmFcrU29PHE26QXjLXvHh+X8xtwKU7KgepwkP2xQmEBP5TbDAyAaNersUxRY 2W80sqiR2byzLFQPoJ5RC5x1cqTDgKSIlOxUsUC3N7b0XrffAUWJF76+GFRAcWgyLzfG iiGKTviujMyhGqHSiIejKKuy6oL/9oClqDPnn8qWcCbia38BVeKmd1r/zqict1y82YJb MJnPhSTjabm7S/FIU6gQaon4T/y+OK3ZQREDEOQ9rRMer5MFWKl5DOmMFeNa9mzWMvon 81zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tejnvpcItznP+XieeMEeqmEZtG7EKmEE378s7VoibWA=; b=CI3X75FtbpRc3UT9dprBtMZja+WKLlJH/mcEgaWTXDW/21EZLw4TIquKrYSI/ARIx4 j9LpervfGDoOPC+85bJwfFH/+kzp3pwn0D8fjYaOhn2tOuTBNCuNNUzR2+AKiu7oHp2p amUS42xqMZ2PyQbKRsjcdiluGTj3Rz+rnr/txZ3fbmvWFhkGBYeBmqpRo6UpUdGIpNdr WHgist6cuU0R+67nnS2YBBg+DscyIQivlaNRJci0RzBZokL5dzlIBgcTSaL5YvsmFW8P 6I4gtRHwFzpS3IS6wWUG8EUXv8RqDZJxyO5ev6zYM41EBZWNklZV6fRC9qN90XsDW4Dm EHwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=dDLUQ679; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w63-20020a638242000000b0037ff6686fb1si720450pgd.371.2022.03.15.19.18.49; Tue, 15 Mar 2022 19:19:10 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=dDLUQ679; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240423AbiCNOsH (ORCPT + 99 others); Mon, 14 Mar 2022 10:48:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240684AbiCNOsG (ORCPT ); Mon, 14 Mar 2022 10:48:06 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67ED24163B for ; Mon, 14 Mar 2022 07:46:56 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id g3so20302115edu.1 for ; Mon, 14 Mar 2022 07:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tejnvpcItznP+XieeMEeqmEZtG7EKmEE378s7VoibWA=; b=dDLUQ6796YMEiUp31VGhDzOTCJr1qPyT996cw3CMfVjF2raAunLZqee5fmKQC/ZKET 8kNjpMX7hXBBd3ITSA2ZdyFyCRAASlr39t+ZkyFCi7UPtLnpTP2SZUQj7b90Tp8AgjYB 78IFCI/CbnDsY6OhmVYtoKxx+kUYQImiaKqX1jeGHu/oKH9mkQqF/Z2QrP9HxBa2rGhj PbEaICb5JmwdKuEhVlPseLUJYBlF1YSUieZvN6MoVl16R7LpfMZFy8/ARis7FvAaHRO1 TZqup7X0JHfaOF1KJ++xjeHwfBUDikPdIdN+i0Dw2maagYT4r0KHbJwrXrR8omFkW9/Q 6B0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tejnvpcItznP+XieeMEeqmEZtG7EKmEE378s7VoibWA=; b=4eCm/WDIdMu97bJsMOOC0elLgigL/MoAhr8NIZhEIJ9tgYI2BQ1BNSCRmF0RBiU1H3 jkMANzG0WOrK80YDvBOWmytQYK1o0HrjtcoRWzM8nM+U9xZRCKwE0QBKtg7kI8sY+D+m ZN18F0XhpeGHPqE4HjxX8+lzS0BNQ+yBg6jN+61XLQZKUkd4xMiNjwi+SiHjqagp0sZ8 Ott8cgaZ8P+aYIFmVSgBpNqvPqsGgDChU+eXMd/Kb0Otgctql1o5udS/9DmjoKurGR99 HWf0fsdohQM459f4JRM34sMGPRpKObtt5K9za9zo/ED/6cSogE9ouRRZ+ejrMvvLNT0w HLhQ== X-Gm-Message-State: AOAM530J664pssEDzC5pb3RRGiM1lP9leN8ldXdzM0Zw5k3Vjkce3dvf vkm64SEaj260rs+NL10I9uHxdGegJsKDU01rPBPiQxT7Xd8ffw== X-Received: by 2002:a05:6402:5cb:b0:415:e04a:5230 with SMTP id n11-20020a05640205cb00b00415e04a5230mr21115927edx.352.1647269214900; Mon, 14 Mar 2022 07:46:54 -0700 (PDT) MIME-Version: 1.0 References: <20220311181958.4487-1-kris@embeddedTS.com> In-Reply-To: From: Bartosz Golaszewski Date: Mon, 14 Mar 2022 15:46:44 +0100 Message-ID: Subject: Re: [PATCH] gpio: ts4900: Fix comment formatting and grammar To: Andy Shevchenko Cc: Kris Bahnsen , Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Sat, Mar 12, 2022 at 2:06 PM Andy Shevchenko wrote: > > On Fri, Mar 11, 2022 at 8:20 PM Kris Bahnsen wrote: > > > > The issues were pointed out after the prior commit was applied > > Missed period in the above sentence. > > Otherwise LGTM, > Reviewed-by: Andy Shevchenko > > > Signed-off-by: Kris Bahnsen > > --- > > drivers/gpio/gpio-ts4900.c | 12 +++++++----- > > 1 file changed, 7 insertions(+), 5 deletions(-) > > > > diff --git a/drivers/gpio/gpio-ts4900.c b/drivers/gpio/gpio-ts4900.c > > index d918d2df4de2..ede605b8e098 100644 > > --- a/drivers/gpio/gpio-ts4900.c > > +++ b/drivers/gpio/gpio-ts4900.c > > @@ -55,8 +55,9 @@ static int ts4900_gpio_direction_input(struct gpio_chip *chip, > > { > > struct ts4900_gpio_priv *priv = gpiochip_get_data(chip); > > > > - /* Only clear the OE bit here, requires a RMW. Prevents potential issue > > - * with OE and data getting to the physical pin at different times. > > + /* > > + * Only clear the OE bit here, requires a RMW. Prevents a potential issue > > + * with OE and DAT getting to the physical pin at different times. > > */ > > return regmap_update_bits(priv->regmap, offset, TS4900_GPIO_OE, 0); > > } > > @@ -68,9 +69,10 @@ static int ts4900_gpio_direction_output(struct gpio_chip *chip, > > unsigned int reg; > > int ret; > > > > - /* If changing from an input to an output, we need to first set the > > - * proper data bit to what is requested and then set OE bit. This > > - * prevents a glitch that can occur on the IO line > > + /* > > + * If changing from an input to an output, we need to first set the > > + * GPIO's DAT bit to what is requested and then set the OE bit. This > > + * prevents a glitch that can occur on the IO line. > > */ > > regmap_read(priv->regmap, offset, ®); > > if (!(reg & TS4900_GPIO_OE)) { > > -- > > 2.11.0 > > > > > -- > With Best Regards, > Andy Shevchenko Added the missing period and applied. Bart