Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp3764456rwb; Sun, 7 Aug 2022 06:56:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR7y9Pl3qBzilSdefm4/f0dnBvFAKDbpfVVRg4q4VsVo9nH7zwfCfip+OTWsTG1hkU5TxMH8 X-Received: by 2002:a17:902:778b:b0:170:a671:a090 with SMTP id o11-20020a170902778b00b00170a671a090mr1163538pll.56.1659880614961; Sun, 07 Aug 2022 06:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659880614; cv=none; d=google.com; s=arc-20160816; b=fBhM649yBrjL0JpuTIl1UgwrKuGOoAswtoPFBXaJSITf9Da0loBzIGqCGvuWJAA7NO SCkopUeCyrmQTRgBgGmuBEbX5qzRyCCg3dylEiG7Rmn8q35IyYk223xyYKGYmLZwcFo/ YPeZub0H9adUuCGEBQSJ6WNlD85cQCulolas/ksl7cnUado0YvGsFo7VTb+jSKypYrhi +rtouLiXHaXJzPFCCxeKF1pYIG7KqhBAIbIOWpqjX7/OvqeNH8QqZBPk1A9m3pjVsbkO kHlo0ETKWfRCClYiAAoQzEbda9S0Q5f5Fn21G5cVWZlwiz3BHC8q0d0oYZyMLE4+cvTm Ms0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8zU84gQmE6XXoGBx6p/jfGHY5q82lsww29jgFqcrpdo=; b=Rvtg+vwzKn0R+LlYlatjbDuobQOn9noOfByNm8DAnqnxagx7d/M8VgZpCbFe+frnk0 7e4vcmMy/KBreqfkFsiuqMofqVKU+HnmKwVPqmLMy3fY5qXclNYWstDhHvajQqhFFVOM udOudFljyMwwn5jq1UjtiJMaaUFC5d3HjPBlHel6PaBX4q4aXA77tL4Am+Vv1dFRwbg+ hUeQItFs4FqkXTY/K+msyWcK6rVvI4WfYY9AD6obBt9Xyt6+JYbkS//d/KYyReVpwcsi CGjsiYPWeRk+/sDzYyd2TsXPs+ozKYG9TMUQiD4ONISV5lyZKGyFDRqNMHKv95N1xC8D QU3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jXMHDp9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om17-20020a17090b3a9100b001f2c9c64006si15971184pjb.0.2022.08.07.06.56.40; Sun, 07 Aug 2022 06:56:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jXMHDp9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234082AbiHGM1Q (ORCPT + 99 others); Sun, 7 Aug 2022 08:27:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234053AbiHGM1N (ORCPT ); Sun, 7 Aug 2022 08:27:13 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69555B7FA; Sun, 7 Aug 2022 05:27:12 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id f65so6336051pgc.12; Sun, 07 Aug 2022 05:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=8zU84gQmE6XXoGBx6p/jfGHY5q82lsww29jgFqcrpdo=; b=jXMHDp9wifXmiAPmpRE+z/oUm/JwLrA/lfAcSepkyoy2SDwMqtd+ZlKwLHUUSLXuMl 37cR6t9RXHxlszTM33hZ6wkA0g4O2SkHG0mTR47F/NVe3k5VE5GvBf0j8oxVtdc70BiU 5hsRXN0rypNT4NaT44S1Jy1lmzXLjJgvIXTXmN+d2fo3eXx0aTWiyeVdCH+wUl9XSjgv JKU4Ws08NfKkuVkkYVC/0AiAo1AHsRKaELv56tQhRvj2KtNp+y2O+izjNO8Mv6egJKsA b8WGZBz10B4YVir/ifTVdjYlARZZ2Vrgkk1dSwY4Og32CZahHSa8pdCr48dsSEWBt+tx s+mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=8zU84gQmE6XXoGBx6p/jfGHY5q82lsww29jgFqcrpdo=; b=adlQ5B0AsXENv/FDl372+nvByehb1i0g7XuskAFmN6dKknsdMbv435sHaoq8ymKmuQ MctMTcT5rbwrFheLPBfeBcJ6lF/ED7BkInNxAsB9QvvuKlTYvmwTq1ewI8Btg3nDsBG/ 5WtbbtQJosYlYV/R/tr4HoNOoBQUbjPyGmwCECC8AM0/kptay2mPjYOX3xg1oHZ5UvKy zSrZUMrfrichPMMyEWFK96/JceprqQN0Ur/EkyzSKBcVCRBEJqZiljAZr2HCU/S4wKF9 O1SJjFOns52BHjJJHpT8koc57FzPQ6rel/Dq03Y91Lc6arpNeoew5hrlmxXf/ShElIIg cJrA== X-Gm-Message-State: ACgBeo0c4hE6yH3vGpGDF0GO/qB5WgB2FbRfDE0uY7P8QDOsONKTJF4R HYKSdxeq2y8RGyBPqogqx/I= X-Received: by 2002:a63:698a:0:b0:41c:8dfb:29cb with SMTP id e132-20020a63698a000000b0041c8dfb29cbmr12065549pgc.170.1659875231899; Sun, 07 Aug 2022 05:27:11 -0700 (PDT) Received: from Redmi-G.localdomain ([112.0.190.111]) by smtp.googlemail.com with ESMTPSA id n7-20020a170902e54700b0016c16648213sm6716709plf.20.2022.08.07.05.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 05:27:11 -0700 (PDT) From: Molly Sophia To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Molly Sophia Subject: [PATCH 1/2] pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map Date: Sun, 7 Aug 2022 20:26:44 +0800 Message-Id: <20220807122645.13830-2-mollysophia379@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220807122645.13830-1-mollysophia379@gmail.com> References: <20220807122645.13830-1-mollysophia379@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently in the wakeirq_map, gpio36 and gpio37 have the same wakeirq number, resulting in gpio37 being unable to trigger interrupts. It looks like that this is a typo in the wakeirq map. So fix it. Signed-off-by: Molly Sophia --- drivers/pinctrl/qcom/pinctrl-sc8180x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-sc8180x.c b/drivers/pinctrl/qcom/pinctrl-sc8180x.c index 6bec7f143134..b4bf009fe23e 100644 --- a/drivers/pinctrl/qcom/pinctrl-sc8180x.c +++ b/drivers/pinctrl/qcom/pinctrl-sc8180x.c @@ -1582,7 +1582,7 @@ static const int sc8180x_acpi_reserved_gpios[] = { static const struct msm_gpio_wakeirq_map sc8180x_pdc_map[] = { { 3, 31 }, { 5, 32 }, { 8, 33 }, { 9, 34 }, { 10, 100 }, { 12, 104 }, { 24, 37 }, { 26, 38 }, { 27, 41 }, { 28, 42 }, { 30, 39 }, { 36, 43 }, - { 37, 43 }, { 38, 45 }, { 39, 118 }, { 39, 125 }, { 41, 47 }, + { 37, 44 }, { 38, 45 }, { 39, 118 }, { 39, 125 }, { 41, 47 }, { 42, 48 }, { 46, 50 }, { 47, 49 }, { 48, 51 }, { 49, 53 }, { 50, 52 }, { 51, 116 }, { 51, 123 }, { 53, 54 }, { 54, 55 }, { 55, 56 }, { 56, 57 }, { 58, 58 }, { 60, 60 }, { 68, 62 }, { 70, 63 }, { 76, 86 }, -- 2.25.1