From patchwork Sun Aug 7 12:26:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Molly Sophia X-Patchwork-Id: 12938148 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8F58C25B0C for ; Sun, 7 Aug 2022 12:27:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234057AbiHGM1P (ORCPT ); Sun, 7 Aug 2022 08:27:15 -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-Google-Smtp-Source: AA6agR56hO7U2HU+o1XnpqbGZdVQtP8cbvyygzF0+fcYbIisqKkUD5Lv9X2RmFBVp5L+V1XpvIP1Qw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 Tested-by: Bjorn Andersson Reviewed-by: Bjorn Andersson --- 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 },