Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4889235pjb; Mon, 27 Jul 2020 07:40:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9hp9Kp3iDICP9Lmzcy7feUgqkqcOQ+U7AIwoDB7bLrhwkcPMz+TBuyZAe5qGHJVBg6c1F X-Received: by 2002:aa7:d58c:: with SMTP id r12mr22567760edq.160.1595860837279; Mon, 27 Jul 2020 07:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595860837; cv=none; d=google.com; s=arc-20160816; b=einlXwbX/8QVoroL0ycsBwIvOpUl7/unwxgDSG+K8JBewzdnWFkQI/4GrPff2faf+w FKx22FLXBdiEb31EyXBsio4X0yprGTDB3jEUXhDoDybr5U6dg7AtsokGu+5qJKlKrV86 NbutakPfwvrtFZlCtp//CfCGOed6TVImqtb/P1kGFxQeKNlZJfdWVmjbgYPBSbfSGaSl tCEOBeXxn7wvSBR/41P4QfUxrVgcP1fof1ZUtr4ERODYya/+m92W3+QvWeF4DERKymBL UxG1qRKs/OdAIRFjyFwKvBI7T7QG4B0IQgD2RXDuw4eTxF0hnTM3QNkuVxo4LfjhaRnE RT4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mT2kYm4L6p0eaBtSy1lE/2OJWahG4sXLNH802q3qK7s=; b=rnOci97lW4V91KM5moP6RogVOZY50kdikXMSn2IbUgNRI7dzKSdIcPPZcuD2Kokdr0 TejkhZPf0dNZySnR3Y8DeN2GCoHmm4TRsbwmHojH1oVehyVw/l9Tmkekg52beIR1vYqY y9a8nXw4Th989/8npnie3gwJu8f87W6cG+FnNgB3nkDGkeYVmoYxDnGZnVnZEx9ot+PT 5FmMK7Higo3KYtgmCZioJYHSxKL4a78tNhybXvmQDWHjvZZTqbNGWmOKbS0zrGITHI9s Y5oEouQ/64TZ6vbtM2XTp8GGmMcRuLwc6imV79+Zm7DdY0hfCgG+rj/pOAWEV9RJft2s IsiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vdFHlsfi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si3620964edw.538.2020.07.27.07.40.14; Mon, 27 Jul 2020 07:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vdFHlsfi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729777AbgG0OKK (ORCPT + 99 others); Mon, 27 Jul 2020 10:10:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:60912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729770AbgG0OKH (ORCPT ); Mon, 27 Jul 2020 10:10:07 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BC4E120838; Mon, 27 Jul 2020 14:10:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859007; bh=WiG8lY5u5Gxq7nHbvYZ3ThbiA3hQHm0TvajDFI3wIuA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vdFHlsfiK+UFCiQKV7yrtdOiFqTKMzIAoriyIhlq7sGhC/QNGdOWA594kIHyFLvfT pwdHjPEW+xxvLZkAWX5WrNuxhwgiaoT1DkJE4V4C5ZwfgHqN6BxKIY+ns+0AojaeQC jRRLyCCz+RCjjj6nNP7VJRx55dtpsiAinlNqla+Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jacky Hu , Linus Walleij , Sasha Levin Subject: [PATCH 4.19 04/86] pinctrl: amd: fix npins for uart0 in kerncz_groups Date: Mon, 27 Jul 2020 16:03:38 +0200 Message-Id: <20200727134914.563156370@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134914.312934924@linuxfoundation.org> References: <20200727134914.312934924@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jacky Hu [ Upstream commit 69339d083dfb7786b0e0b3fc19eaddcf11fabdfb ] uart0_pins is defined as: static const unsigned uart0_pins[] = {135, 136, 137, 138, 139}; which npins is wronly specified as 9 later { .name = "uart0", .pins = uart0_pins, .npins = 9, }, npins should be 5 instead of 9 according to the definition. Signed-off-by: Jacky Hu Link: https://lore.kernel.org/r/20200616015024.287683-1-hengqing.hu@gmail.com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/pinctrl-amd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-amd.h b/drivers/pinctrl/pinctrl-amd.h index 22af7edfdb38e..91da7527f0020 100644 --- a/drivers/pinctrl/pinctrl-amd.h +++ b/drivers/pinctrl/pinctrl-amd.h @@ -256,7 +256,7 @@ static const struct amd_pingroup kerncz_groups[] = { { .name = "uart0", .pins = uart0_pins, - .npins = 9, + .npins = 5, }, { .name = "uart1", -- 2.25.1