Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1272199pxp; Sat, 12 Mar 2022 06:09:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmesDhacn1bDC4LeBxvokNXdYKDDEJSv73n6+ITSsiaFlj6vdsiVAbooImGrtv79Zy2QkN X-Received: by 2002:a63:82c1:0:b0:37c:99c3:e3ef with SMTP id w184-20020a6382c1000000b0037c99c3e3efmr12591815pgd.27.1647094143422; Sat, 12 Mar 2022 06:09:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647094143; cv=none; d=google.com; s=arc-20160816; b=HeoRQJj01tc7Dx+gGRScqfTRWeMZxGtJEtDBe+g+/cY//2naS6hA70+i3HgkngllA5 ry0pbMygJbHhQBUNBw7mhYoQ1c5TC68Z0KntY1BgDpa6CR5TdVIgNQn4tHPbUJbw8DII xEm7Eapkj20Gq1eF0pn6qxJwYxTgcKGmdQ24fjkPkq1M53PPrGOIQwTHGb/KGMeVv0HJ vabJ2/TfBwi/7DHVgkFgMGM/2yl5b3vyb4oyzZrX5l9VMyI8YXVRMR4zSOfvMNtFmmJ7 LrU/Mfj21AZHhSVoQ+GkPNcNMX//Z/FR/XcXktGMP4NWn5H49lBIIWPL0NZZMCvhrLFj sI5A== 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=XbcW2OOJ7LSE1WOue0Ifdm+n2BhfLZSK5oy0hShBNp8=; b=oLOwsLK+UJ5OwH6egftCSb2sHFGEegufDxsxvpETVskzp13IT+MvrcqG0FoIMSVILu rSlGajvmyV+5EE9mJIEcQAPH15Ubl7wgkX1eFE5JUeFsLM/GaU22oOSarX8H1/eZ63wv V2NztHLIKv7H2hVHWUzpNIPV8W75y/lMSWRzZD1G+q3LUI4KfGgh8ZWUHs/dor3XJ7hH XAVrgxZTp4j60oSBTMztDOHGby+0AQ6Ky9BTqLTOinGffiHp9GpDfeXORHDnMDqu53aR JLNCVWPzTlWwsn4uccP2Uev2z07GmAHXB2c/h4BOh8foYiU5rRSQNrcicnHxNuyxakWb K66w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i0Df7eXg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a056a00078500b004f76d35c1ebsi8003814pfu.46.2022.03.12.06.08.49; Sat, 12 Mar 2022 06:09:03 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=i0Df7eXg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231279AbiCLNIH (ORCPT + 99 others); Sat, 12 Mar 2022 08:08:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbiCLNIF (ORCPT ); Sat, 12 Mar 2022 08:08:05 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8D9E235849; Sat, 12 Mar 2022 05:06:58 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id yy13so24607879ejb.2; Sat, 12 Mar 2022 05:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XbcW2OOJ7LSE1WOue0Ifdm+n2BhfLZSK5oy0hShBNp8=; b=i0Df7eXgu5ECZdRFO999p7sSOXO9g2T7uxD/dwZdpbmYIyEDGH0YiC8IazXIqTJWBn wMQ369rGT7wUPS7vgp7RvYlEiI7g3oYrwJmlqXqWnast52NdFbmpeoWQ+tvYbFR4YZMb fFSfFrfRXO/TiiqYle1hG1QBtuSNcwWXwK9wLN/qqORlgHeb+j9U+4EqUhEIxX/GD2lj TOs2cr231JZiKkUUbfFGWGDDNNUHqT3NfJ22jQvHAsyJ2D7uBVNfpln+iryVbSU3/40g XkhOTtUvFUT0ZzwbevUSELlVswoACPIfMUFvMhzu1H7r15CEtPwkuCnZhZNPimN929ns OvNg== 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=XbcW2OOJ7LSE1WOue0Ifdm+n2BhfLZSK5oy0hShBNp8=; b=2lfCr2x/u3nWi4pRay99xGDIFRlEpqTKKoBVqsebn2TQs8bdvVFfT3873rmoNf6NZM AKVuagpFDSN2YVZgX9mjtij8rGKh1E+O9cVTX58PA7sXmmMu5zrMRJowststJXT+eaiA qbtI0vNl6Fur68WlzT10yzoir6l6wX2LAQey4LLXMPVL9jitL5/fHPF3csWMdaGY1R1r OIcwedaWVXGI+p2EUpBvYdMMZ9eE1UOSRpHrlfSwYJ9tDZTvJQYvoa+w6cNmptPfv9e2 fAFWOROIFXgw1T70ePcc23Dm/0D93OlvKLkY9k1hZVSdDTzYsXb+3yuRKtPA3IDTeXus QN2g== X-Gm-Message-State: AOAM531YWNNG/uffIqjFkkaERmx6+TmY3Yr4nY/8bBrn//A0i70d02RX Apj4sqP1OcdXHMv/N5iEs6Q0jXo0y0upHVtRidA= X-Received: by 2002:a17:907:6e01:b0:6d0:562c:e389 with SMTP id sd1-20020a1709076e0100b006d0562ce389mr12346915ejc.497.1647090416933; Sat, 12 Mar 2022 05:06:56 -0800 (PST) MIME-Version: 1.0 References: <20220311181958.4487-1-kris@embeddedTS.com> In-Reply-To: <20220311181958.4487-1-kris@embeddedTS.com> From: Andy Shevchenko Date: Sat, 12 Mar 2022 15:06:20 +0200 Message-ID: Subject: Re: [PATCH] gpio: ts4900: Fix comment formatting and grammar To: Kris Bahnsen Cc: Linus Walleij , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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