Received: by 10.223.164.202 with SMTP id h10csp189638wrb; Mon, 13 Nov 2017 05:01:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMaQwrFXyEVYVB9FDp82IJQrTkRll2+yZYDyLWd7RJQBrBFcdbqbJ0FMXTBxOhQYtOm3QbA9 X-Received: by 10.84.215.129 with SMTP id l1mr8903218pli.181.1510578103963; Mon, 13 Nov 2017 05:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510578103; cv=none; d=google.com; s=arc-20160816; b=o9bOxbGIuQ/4E10nIzPn2NzelubNqaIrWucidVuyJMFOpn0MXOQfMU5vzDDizAESg9 txhbj1Bs033vMRMxUXr1RnUoZXZAia1jk3fPEShX6BilYZZC1OMT3CrX+97A5Ybx7Q37 kaLHx8QAT+r0mKyegvx2+i4cKBfdaNE9xv1QoodJdmLPvpqVHcL91TxpIQKl1PipviyX 5qHwbjoBZX7bPuxqugRrB0soqoYfm7FCKU5196cuuf0DDKiP4MslAMDaQ8cX3337zzHo uBWi2VuAEZxru547HykG7Y58d8Dj7MDGQ96mG+UlIV5HTDhlX476MxiCo7t8lvfleW2q umJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=kx153Bx+R6McmwZ8RxWWgY1o9UFZG//e8L/p668iebY=; b=Ex/ASwDyKFBUHFgkn27Ebapb+MDUMmiVAp3d20uLZ4eCIZrgIUN74MQOkjBi4G+ip+ J5brBljnrUadc6eZ4d/5XeoogNTGje7gUGykYTYHUvWVcA/EsvdaRSOdfzhIVdJF29d6 HP+My7kyoXLX5267Z42biUukBw8M9KBXT5/gIdclDEeRsuq8QLIiUYxuMIgtCwGGYv5m oHmy+KS8A+8AERAxkFvZ1w4n2atG5FQWILvyKdrrmMEayOCc7KSM+793TzdkEpmEiw30 GmSS2QV1Xeoj2aGHRMMyt82FqeN211itM155x57CJ8ry5wQEky+QJKrSRQwE9+gYbuN9 0H2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si14027661plk.227.2017.11.13.05.01.29; Mon, 13 Nov 2017 05:01:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754507AbdKMNAt (ORCPT + 95 others); Mon, 13 Nov 2017 08:00:49 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:50042 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754503AbdKMNAp (ORCPT ); Mon, 13 Nov 2017 08:00:45 -0500 Received: from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr [90.92.67.150]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id AA4B8AAE; Mon, 13 Nov 2017 13:00:44 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexander Stein , Linus Walleij , Sasha Levin Subject: [PATCH 4.9 14/87] pinctrl: baytrail: Fix debugfs offset output Date: Mon, 13 Nov 2017 13:55:31 +0100 Message-Id: <20171113125616.537792685@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171113125615.304035578@linuxfoundation.org> References: <20171113125615.304035578@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexander Stein [ Upstream commit 3655a1ca6bd8e7300f2bb196208d5139aa6b2eda ] Apparently each GPIO pad's register are 16 bytes, so multiply the pad_map by that. The same is done in byt_gpio_reg the only other place where pad_map is used. Signed-off-by: Alexander Stein Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/pinctrl/intel/pinctrl-baytrail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pinctrl/intel/pinctrl-baytrail.c +++ b/drivers/pinctrl/intel/pinctrl-baytrail.c @@ -1466,7 +1466,7 @@ static void byt_gpio_dbg_show(struct seq val & BYT_INPUT_EN ? " " : "in", val & BYT_OUTPUT_EN ? " " : "out", val & BYT_LEVEL ? "hi" : "lo", - comm->pad_map[i], comm->pad_map[i] * 32, + comm->pad_map[i], comm->pad_map[i] * 16, conf0 & 0x7, conf0 & BYT_TRIG_NEG ? " fall" : " ", conf0 & BYT_TRIG_POS ? " rise" : " ", From 1583957454474818552@xxx Mon Nov 13 13:25:42 +0000 2017 X-GM-THRID: 1583955814750199119 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread