From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DF40C2D0DB for ; Tue, 28 Jan 2020 14:15:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2152C24681 for ; Tue, 28 Jan 2020 14:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580220942; bh=xmqf4R/yqaxyn6B/aXLkj6ePZROjIT/6cr9njFDMExI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=HImMbTtDF+0SwObPvnWAYuyv91Sopvd9hOfW0XhGkbDMWtx29sRcM0RAa8gupjeKd Oob8Xup4JvXbT8XmArxJdmkZwj0mgWUZR2WRbRK3A2FcQ+P6n3s2wbeKPk05eFbs5U RzcTCN9XdzHlPuZK2Ps5/qvvRolEV8UfBdWlWUqk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730157AbgA1OPk (ORCPT ); Tue, 28 Jan 2020 09:15:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:38408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730129AbgA1OPi (ORCPT ); Tue, 28 Jan 2020 09:15:38 -0500 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 6316724681; Tue, 28 Jan 2020 14:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580220937; bh=xmqf4R/yqaxyn6B/aXLkj6ePZROjIT/6cr9njFDMExI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v+w7/v1GXBQ9qJJZtEYOe9tTgSOmD0kRuZCSKJS67LYXqH6C6P1/eGkTshlB6Yxdd LeBt3k/9suEXU4JOdCTundE3sMBcgKNEjrVid7HY3pmDdN5phIKijywmumvPzzwCQ+ CiOUQPujp8BCxUGFNmWfKhb7hgfb5a+n+qnoVUNQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Simon Horman , Sasha Levin Subject: [PATCH 4.9 023/271] pinctrl: sh-pfc: sh7269: Add missing PCIOR0 field Date: Tue, 28 Jan 2020 15:02:52 +0100 Message-Id: <20200128135854.395440598@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135852.449088278@linuxfoundation.org> References: <20200128135852.449088278@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: Geert Uytterhoeven [ Upstream commit 9540cbdfcd861caf67a6f0e4bb7f46d41c4aad86 ] The Port C I/O Register 0 contains 7 reserved bits, but the descriptor contains only dummy configuration values for 6 reserved bits, thus breaking the configuration of all subsequent fields in the register. Fix this by adding the two missing configuration values. Fixes: f5e811f2a43117b2 ("sh-pfc: Add sh7269 pinmux support") Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman Signed-off-by: Sasha Levin --- drivers/pinctrl/sh-pfc/pfc-sh7269.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7269.c b/drivers/pinctrl/sh-pfc/pfc-sh7269.c index a50d22bef1f44..cfdb4fc177c3e 100644 --- a/drivers/pinctrl/sh-pfc/pfc-sh7269.c +++ b/drivers/pinctrl/sh-pfc/pfc-sh7269.c @@ -2119,7 +2119,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = { }, { PINMUX_CFG_REG("PCIOR0", 0xfffe3852, 16, 1) { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, PC8_IN, PC8_OUT, PC7_IN, PC7_OUT, PC6_IN, PC6_OUT, -- 2.20.1