From patchwork Thu Mar 16 20:36:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 9629309 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D71A160132 for ; Thu, 16 Mar 2017 20:36:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C897928573 for ; Thu, 16 Mar 2017 20:36:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBC9B28680; Thu, 16 Mar 2017 20:36:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A9C328573 for ; Thu, 16 Mar 2017 20:36:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752558AbdCPUgM (ORCPT ); Thu, 16 Mar 2017 16:36:12 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34221 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbdCPUgL (ORCPT ); Thu, 16 Mar 2017 16:36:11 -0400 Received: by mail-wr0-f196.google.com with SMTP id u48so7311150wrc.1; Thu, 16 Mar 2017 13:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JHLvve84zvKkOZGMFp8upyixRNScZ7kLppGa3UFimeI=; b=DcPPjMayWEzF3c7ljDR4UWTevK1g02g2EiSt1k5wiUtIrSMKwJJMwkiDm+5aqmwUva 58E/87gsKhQxjFEk96K5m2oI4cW7oLPQnamRrS5Ve2fpa346C5kOJLrDu/TgfCS2RngU BbJLLfT91dxs6pXucwxRLMLcPaWFvH7U91zS3E8peheIUIfsHcAx45Kj0BaXh9bhzXMC 8X7uyNv7LW0detQnlsp4Ma+ApjXJTC4Y1rtLkynHJ6DsPl2MQarO6EXITpC95j28W5ci /lTLnjMUD17dqYgV5yrKf3GqljTf936DmX6dlg5HrnyUOmXZ5WvpqJ0LMv13v6Y1mJzD y43g== 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; bh=JHLvve84zvKkOZGMFp8upyixRNScZ7kLppGa3UFimeI=; b=SN6/nR9TjprutZ85SJBQ1pl2OXHXVw9SGBSzeIV5QCcs5R6J6r0WHsK6WYW8g0i4HT JxoKoPjJiUDUaUjjG9ou9aSltQ4Cv3KGiVBYSHCByNtgaQS63pNXrMDp6CFzEzAfFS3N y/9H10JA9N9rMohEBNtkMgROEDM4wytMc6ROlLe8ze8M/WrHnHJBxNtZ9bvMx/Hcx40K V6mMVCo3exaoS/5P35a4UPt7fu6WlyTNxVf6aURy1voLyxBrbtiYRFbglenox+NODyxf uCtONpgVakLBG+a0X1t175gfm4xatEG9TRtx7vvDQTCviLoGhweeZKr9K/4qGbIP5TIN 7XHA== X-Gm-Message-State: AFeK/H2xoeoCq2BGmWsYTHzJiDknbg8ZDJBNtgfMuHPI5i0LEJP3LG2Y89TDaOi8QxJUVw== X-Received: by 10.223.150.15 with SMTP id b15mr9617985wra.191.1489696568747; Thu, 16 Mar 2017 13:36:08 -0700 (PDT) Received: from debian64.daheim (p200300D5FBC135FCD63D7EFFFEBDE96E.dip0.t-ipconnect.de. [2003:d5:fbc1:35fc:d63d:7eff:febd:e96e]) by smtp.gmail.com with ESMTPSA id g23sm167447wme.8.2017.03.16.13.36.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Mar 2017 13:36:07 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.89) (envelope-from ) id 1coc7z-0003Jm-8k; Thu, 16 Mar 2017 21:36:07 +0100 From: Christian Lamparter To: linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Linus Walleij , David Brown , Andy Gross Subject: [PATCH] pinctrl: qcom: ipq4019: add missing pingroups for pins > 70 Date: Thu, 16 Mar 2017 21:36:07 +0100 Message-Id: <20170316203607.12714-1-chunkeey@googlemail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the missing PINGROUP for GPIO70-99. This fixes a crash that happens in pinctrl-msm, if any of the GPIO70-99 are accessed. Fixes: 5303f7827fcd41d ("pinctrl: qcom: ipq4019: set ngpios to correct value") Signed-off-by: Christian Lamparter Acked-by: Bjorn Andersson --- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-ipq4019.c b/drivers/pinctrl/qcom/pinctrl-ipq4019.c index b68ae424cee2..743d1f458205 100644 --- a/drivers/pinctrl/qcom/pinctrl-ipq4019.c +++ b/drivers/pinctrl/qcom/pinctrl-ipq4019.c @@ -405,6 +405,36 @@ static const struct msm_pingroup ipq4019_groups[] = { PINGROUP(67, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), PINGROUP(68, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), PINGROUP(69, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(70, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(71, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(72, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(73, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(74, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(75, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(76, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(77, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(78, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(79, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(80, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(81, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(82, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(83, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(84, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(85, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(86, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(87, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(88, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(89, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(90, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(91, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(92, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(93, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(94, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(95, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(96, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(97, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(98, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), + PINGROUP(99, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), }; static const struct msm_pinctrl_soc_data ipq4019_pinctrl = {