Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1197414rwd; Thu, 1 Jun 2023 11:49:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50mgcxFF6G4Ll9VzpuQpt6QIWcdO/nmqoq9mYe2IetOVh1diyHk4HNHiyRD40z6qv0LMOk X-Received: by 2002:a05:6a21:339a:b0:10c:9e35:857a with SMTP id yy26-20020a056a21339a00b0010c9e35857amr10987402pzb.49.1685645373606; Thu, 01 Jun 2023 11:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685645373; cv=none; d=google.com; s=arc-20160816; b=yYh9Jb8fR/5unYXKb1jsJYZup3ufHZcfAU9/3NghgCAMwFlT5Dg4xxkRP4IQcUO76W mVu0z/vO1WrdPBuwcUo+pUi7ZxLjQzSP6R4FAlKaTanIJReA5M5ZD7R0NpgnIPpPvd17 wR1FFDgG4NF+jBIFs0ibLgPDvBELKgCpLuE9Enb7wfZghgQWofvy3YCy+0h2kTqs3lIr XLkLWTz2dIMtFwHVWgp78N3WVzX+XIG+40DZj1jEKBLW3xwQyLi3lY4Ad1pyV/RC+NF9 G+oEIRVVY4GwGMfHblhmrFAybdPEucn0NCGYm4MfNvlycYQDC/i8QqPbNCk5W63mdfB/ sK3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=AQcVgfW3AF1zATJmxtuE2HxXTPlWoZL81qZFjeP/IXs=; b=Xnx5/mjD0a1qXn/qZQhBnc0I6MiI/uaXo58AVvu4fqzrICOXZ7XdfykbflG5RVMMQv Onx/vqGkc+E8jyYwr5c+qEB6qWae7vDhRJCH70t3RO1INQy7ErtR0zyUReHdUCqt5sX6 3VI7cl/7XVUV8ZDnrLCOG53tM3l4TQU/Ck8dDIByprCuIdiHzNf1p95cvA7+uCzt7+iZ 9MvUp2pYipzHQHkSNrAyTGrr93w8bAE6kqDQHgTsWUQdAR2Xa+eMIq+Y5EgUi5SQ9ZY4 dRbOhd+CZAtk0257J+VmhafucAwmXyY3IaNR0sRhPeQZRzbrl/ANQ3SjxEU+VdODTi5q iB9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=d5L7zlnF; 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 z1-20020a637e01000000b00518b499da59si3056538pgc.901.2023.06.01.11.49.21; Thu, 01 Jun 2023 11:49:33 -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=fail header.i=@hugovil.com header.s=x header.b=d5L7zlnF; 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 S229542AbjFAS3I (ORCPT + 99 others); Thu, 1 Jun 2023 14:29:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232409AbjFAS3E (ORCPT ); Thu, 1 Jun 2023 14:29:04 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 229DBE47; Thu, 1 Jun 2023 11:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AQcVgfW3AF1zATJmxtuE2HxXTPlWoZL81qZFjeP/IXs=; b=d5L7zlnF/YekEEl7dOGnWtNyPB PC8uMiqJm2kA+DBOkGFwx9e8tCYL03larfOOKItCGkhhKojr0c0x6HZIZN5gEqajQX4NTJ9arBqzr ARv5gbuiklV6Z36f643DMS4660Jdshy8HerXvQNxoguhp3qkCliV4yCSFdtdqSNhwx70=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:42688 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1q4n1B-0004uN-JV; Thu, 01 Jun 2023 14:27:26 -0400 Date: Thu, 1 Jun 2023 14:27:24 -0400 From: Hugo Villeneuve To: m.brock@vanmierlo.com Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jirislaby@kernel.org, jringle@gridpoint.com, l.perczak@camlintechnologies.com, tomasz.mon@camlingroup.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hugo Villeneuve , stable@vger.kernel.org, Lech Perczak Message-Id: <20230601142724.4fb197fd315e6d360c0d0457@hugovil.com> In-Reply-To: References: <20230601163113.2785657-1-hugo@hugovil.com> <20230601163113.2785657-4-hugo@hugovil.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH v5 3/9] serial: sc16is7xx: refactor GPIO controller registration X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 01 Jun 2023 19:28:01 +0200 m.brock@vanmierlo.com wrote: > Hugo Villeneuve schreef op 2023-06-01 18:31: > > From: Hugo Villeneuve > > > > In preparation for upcoming patch "fix regression with GPIO > > configuration". To facilitate review and make code more modular. > > > > Cc: # 6.1.x > > Signed-off-by: Hugo Villeneuve > > Reviewed-by: Lech Perczak > > Tested-by: Lech Perczak > > --- > > drivers/tty/serial/sc16is7xx.c | 39 ++++++++++++++++++++-------------- > > 1 file changed, 23 insertions(+), 16 deletions(-) > > > > diff --git a/drivers/tty/serial/sc16is7xx.c > > b/drivers/tty/serial/sc16is7xx.c > > index 0c903d44429c..279d7dcb1447 100644 > > --- a/drivers/tty/serial/sc16is7xx.c > > +++ b/drivers/tty/serial/sc16is7xx.c > > @@ -1349,6 +1349,26 @@ static int > > sc16is7xx_gpio_direction_output(struct gpio_chip *chip, > > > > return 0; > > } > > + > > +static int sc16is7xx_setup_gpio_chip(struct device *dev) > > Only one parameter, but... > > > + ret = sc16is7xx_setup_gpio_chip(dev, mctrl_mask); > > called with two. Hi Maarten, sorry about that, I will fix this for V6. Somehow my automated compile script tested each patch separately, including this one, but the defconfig didn't enable the module sc6is7xx, so the error went unnoticed. I wrongly assumed that "make alldefconfig" enabled all modules, I will instead use "make allyesconfig". Hugo.