Message ID | 20200913224746.2048603-1-drew@beagleboard.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=i/Az=CW=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C148618 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 13 Sep 2020 22:51:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DDDA721897 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 13 Sep 2020 22:51:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W8VyIErE"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=beagleboard-org.20150623.gappssmtp.com header.i=@beagleboard-org.20150623.gappssmtp.com header.b="J6Lor6kk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DDDA721897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=beagleboard.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ScHlSSODocN09QzgqHdttfEmxZK1j6XuxoRL0aDJPqU=; b=W8VyIErElXUEmCEkNQRQ0mj2CE IxatkylEpq6AtFgcGbf+drCJk/vu6Aj/vi3xLa1L4W8giwkaGYufM+PeduG9KdAybNZ2e9RkIoRxp YjqgGf/lKY6W18l8V77IxmQpaYjAxx5bGt0hRDi8BVsIwLjjlRhAnutsyr7FsDwNBNHl08MKZ/sEJ EjV8ApZb8BzsV0voWhsWJrTIxSvwCEVY6LzhzD4RTaxs4UO8YugKE3+ekXod3stVu4hDtH4wHhxC9 dqjY0IaZxa9AdrPofWps7vmTT1dCPVoOosf4P/gApZCKoE4UaarG/yVtJv5U0lZ5WcICCRdTbA+cL gWil1jGw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHap4-0003yT-Mh; Sun, 13 Sep 2020 22:50:14 +0000 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHap2-0003y0-5w for linux-arm-kernel@lists.infradead.org; Sun, 13 Sep 2020 22:50:13 +0000 Received: by mail-ej1-x642.google.com with SMTP id i26so20526948ejb.12 for <linux-arm-kernel@lists.infradead.org>; Sun, 13 Sep 2020 15:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jCkqObLQ6XI/cM41eaYHVKIOntJotdMpMjm5ZTC8RoQ=; b=J6Lor6kkrx1LBJfAjZtlgpdUKKYWlck7lJlUbb0SSO+vOWUlMoO2P4YTFTfhf09Hb4 tDj37UEilxmAnsrbMV4cOFaMGwNqn09aB68hQlCyVy/C4t+A2J9CtvkGeDxhWBMx9JUI Ntpn6Qw/QIJKrN6zScv+1HEtSYr/sm7uFxfDA7q4o6dlc8fFzyJ7LidX0/s1vPghhMug T+1peI892d9JzFFGOe+oiEDYfGLkj35F0RJoXGjefdZjP1MxdUjJBEiJ1S3GklsqbmSh BX0BWFOO2jXc7RAFjm0kHHmSKRSLXSzn5YETrxqD3uvtitRsJJM97Qzeq2xUT2e2lNTM /ZFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jCkqObLQ6XI/cM41eaYHVKIOntJotdMpMjm5ZTC8RoQ=; b=fZDX5LCh+bIlurdun/ebFeJ3zzlVPqIT8vvleufIh2BlLNP/GrcdBt8ab8wiE0jV07 0hAT2k4QarVom6bms1fBHhJSVVJJpAGsbhrUAOoE0b8hsNlqrc5kbUSaEnVQsSsDOk06 tOG4a/XpM5/mc+40SFMwzAcALA+fpFBCBccN+KLmeS9ni9d8ZTnRrN8E7hWuRNXtSN92 Dbwedy2AIsKlQ0wv+3i7TvpVrQgWLsLj6fpFlP81DlMEW6gBomSsGL7HiW1TMtd68ZUZ 2WPsu6KH7hGDtSzMMdyiOFf/MiPQuzW7fENkqcI85C0g45YbzwGzt9luJKCD8+m/sT8W MZJw== X-Gm-Message-State: AOAM5329Zu90Aq9YdNozsUxalLo6Xb8ipSLkMq0zzMsXBJe6sX4FW8V0 EQaeoGXsiPKW7etgWIhKptcuFnxSKCh7J1mIbUI= X-Google-Smtp-Source: ABdhPJycv3oM6/mxGcVmlcdaPFp/A1PlmqJxqSgM3DkeRXQ57TuHJDm1Xo9uuEhbDu0Bv1VVqWI7oQ== X-Received: by 2002:a17:906:3913:: with SMTP id f19mr12528258eje.83.1600037410320; Sun, 13 Sep 2020 15:50:10 -0700 (PDT) Received: from localhost.localdomain ([2604:a880:400:d0::26:8001]) by smtp.gmail.com with ESMTPSA id hk14sm6171147ejb.88.2020.09.13.15.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Sep 2020 15:50:09 -0700 (PDT) From: Drew Fustini <drew@beagleboard.org> To: linux-arm-kernel@lists.infradead.org, Tony Lindgren <tony@atomide.com>, Rob Herring <robh+dt@kernel.org>, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Haojian Zhuang <haojian.zhuang@linaro.org>, devicetree@vger.kernel.org, bcousson@baylibre.com, Jason Kridner <jkridner@beagleboard.org>, Robert Nelson <robertcnelson@gmail.com>, Trent Piepho <tpiepho@gmail.com> Subject: [PATCH] pinctrl: single: fix debug output when #pinctrl-cells = 3 Date: Mon, 14 Sep 2020 00:47:46 +0200 Message-Id: <20200913224746.2048603-1-drew@beagleboard.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200913_185012_388962_491DA565 X-CRM114-Status: GOOD ( 14.78 ) X-Spam-Score: 0.7 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:642 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Drew Fustini <drew@beagleboard.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
pinctrl: single: fix debug output when #pinctrl-cells = 3
|
expand
|
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index 5cbf0e55087c..f3cd7e296712 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1033,7 +1033,7 @@ static int pcs_parse_one_pinctrl_entry(struct pcs_device *pcs, } dev_dbg(pcs->dev, "%pOFn index: 0x%x value: 0x%x\n", - pinctrl_spec.np, offset, pinctrl_spec.args[1]); + pinctrl_spec.np, offset, vals[found].val); pin = pcs_get_pin_by_offset(pcs, offset); if (pin < 0) {
The debug output in pcs_parse_one_pinctrl_entry() needs to be updated to print the correct pinctrl register value when #pinctrl-cells is 3. Fixes: a13395418888 ("pinctrl: single: parse #pinctrl-cells = 2") Reported-by: Trent Piepho <tpiepho@gmail.com> Link: https://lore.kernel.org/linux-omap/3139716.CMS8C0sQ7x@zen.local/ Signed-off-by: Drew Fustini <drew@beagleboard.org> --- drivers/pinctrl/pinctrl-single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)