Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp773184pxk; Wed, 9 Sep 2020 20:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3Kyy9GyBNiCudZi3v+jEAAq5MdjDUgN0Dal7agvlzJ3YHY8Tqw+vGcwxOZRX9pJM2tZ3/ X-Received: by 2002:a50:a418:: with SMTP id u24mr6951690edb.193.1599706883603; Wed, 09 Sep 2020 20:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599706883; cv=none; d=google.com; s=arc-20160816; b=Vo7x/rBEdEO5hbbjgP2mUxmDVrMN6nwAZkhQbJOg50W4eYftT7kjF2Us5GXGV72mmr W1FlsvH3W3yR82DR8zGA2UBFAMNre/wXbzw/RQ2TLyYTBfXq8kuVN9RHhxP29CEBf4cd 3o6SVBisyfzzfWqxT2ONqvwQOyFAWwTslFB/qYP9bhh2N93ucuiWHG8QIgFSOTxspEAy w1d7y8j6jd9P4YpuQDH6YF/l1LkFaurmmwJo3D6G2H/h10PihyfEKOOEDGz+tjy5QwfS /HbwJd9pK86minIOyYKcYymc9fSd62RUTNVeQzf4CgGCgFM+sxf4DiU0htYU5ZsKYn8R MlHA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=dgZLZNVKsJXTQb5CVCCPBkn89T6dD0JdMbFAfUWYzyY=; b=ulpWO8LneEQ/alTEHec1Wqsv2Vt7WOezqB2WytTF4heagVNBDm2eEyDbOij1QuAZSu A7ltNZJLFCSQeZrCGIsRCEuEQpg6P88Xy6rrUEL43iO+VEEVjfHveuuPxfg8ij762AJX WUVsFmgsjCgbGxD3G+THSksZS1gw+qm/PxBYY2893V/3Yem4AGDSOLUkyOpKpFqk2mia Iwb4vgJeaztju/srOCWlRDlgoNy4HJYTo2YvQEA4YJLMI9xgiyK/bo4UOjvMkxVthTNd rWDS/yuyZHWL4Qu4FXlTYJwhDyuqQoJP6DoP4AeGwdKnnRGHMsBsvAlDUyeaD9bGthB5 nt7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=WoIbRmFo; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=K68zuYHJ; 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 v5si2771307edx.502.2020.09.09.20.01.01; Wed, 09 Sep 2020 20:01:23 -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=@aj.id.au header.s=fm3 header.b=WoIbRmFo; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=K68zuYHJ; 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 S1726440AbgIJC6P (ORCPT + 99 others); Wed, 9 Sep 2020 22:58:15 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53671 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729781AbgIJC5l (ORCPT ); Wed, 9 Sep 2020 22:57:41 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6AA4B5C018A; Wed, 9 Sep 2020 22:57:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 09 Sep 2020 22:57:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=dgZLZNVKsJXTQ b5CVCCPBkn89T6dD0JdMbFAfUWYzyY=; b=WoIbRmFoNgdsdl4Mx/dKhsrX8fQdS 5miTRILtAsDgU+86pbvuVn99pQa66NsX0cOeKEsP1CJ+TwmJ7qmp9i2h1TT2ajp1 /Xq1CyBoomewt68M0JJZCrGv/OyIVr3CI9dSK4KrVygyG00UhaBJkoo8eLOkRtZw EswdDTh1JPSIkDl//b3eCma02Fwm7mAwYfmKGZn/TyPfwPrTrzhylMCmPb2mDaQ4 2cARlPm9W93KSVdbzk2PUW+opLTiUQ+6VL0iWArwERwHONSui+R3covCnicAUulJ FV8pnTTTtG6NG8nfpyy+fv6L8xkK8jkJEUz8oS29AhSdf5+yGq/PBQeFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=dgZLZNVKsJXTQb5CVCCPBkn89T6dD0JdMbFAfUWYzyY=; b=K68zuYHJ 84yqXRLUJjdIMoeHPa4hAY1pR5D+a51AK892C0TVSh5AKL688xsT4KU8Zn5YZrad ybALuOPdY9nkKUFQSh+HgVF13UowfrftPkXlmHvqiNgyx+9pDi9n0J5XnVvQGYtp xwrOm3f2cVsH9RNbTFTKSbogwtd3OTeXasD0yqYhQS16iyX+bIyeJdwF8YS55v4x fOGRU9lODchc6iSHty+GJmYrhHdAiH48m8BiFUM1kcN4kdrI7kPQHd01zKt7jRjM +r8dY3RMlhiIpMwTRKNOTIJMWHHC2bQv1KGyb0Lhgcbt+9hp+cTT5nAiPkrQByC1 GEXKuWU2wYHmnQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehiedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegr jhdrihgurdgruheqnecuggftrfgrthhtvghrnhepjefgvdevheetkeevgeegleelgfelte etjeffleffvdduudevieffgeetleevhfetnecukfhppedugedrvddruddtledrkeehnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvg ifsegrjhdrihgurdgruh X-ME-Proxy: Received: from mistburn.lan (ppp14-2-109-85.adl-apt-pir-bras32.tpg.internode.on.net [14.2.109.85]) by mail.messagingengine.com (Postfix) with ESMTPA id 2A6643068C6A; Wed, 9 Sep 2020 22:57:22 -0400 (EDT) From: Andrew Jeffery To: linux-gpio@vger.kernel.org Cc: linus.walleij@linaro.org, joel@jms.id.au, johnny_huang@aspeedtech.com, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] pinctrl: aspeed: Format pinconf debug consistent with pinmux Date: Thu, 10 Sep 2020 12:26:29 +0930 Message-Id: <20200910025631.2996342-2-andrew@aj.id.au> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200910025631.2996342-1-andrew@aj.id.au> References: <20200910025631.2996342-1-andrew@aj.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When displaying which pinconf register and field is being touched, format the field mask so that it's consistent with the way the pinmux portion formats the mask. Signed-off-by: Andrew Jeffery --- In v2: Format val with %X as suggested by Joel --- drivers/pinctrl/aspeed/pinctrl-aspeed.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed.c b/drivers/pinctrl/aspeed/pinctrl-aspeed.c index 53f3f8aec695..2e0260c1a57c 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed.c @@ -539,9 +539,9 @@ int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset, if (rc < 0) return rc; - pr_debug("%s: Set SCU%02X[%lu]=%d for param %d(=%d) on pin %d\n", - __func__, pconf->reg, __ffs(pconf->mask), - pmap->val, param, arg, offset); + pr_debug("%s: Set SCU%02X[0x%08X]=0x%X for param %d(=%d) on pin %d\n", + __func__, pconf->reg, pconf->mask, + val, param, arg, offset); } return 0; -- 2.25.1