Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4228420pxa; Mon, 10 Aug 2020 04:24:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUT6d7q2Dl7GSdBKWnQUYMVnjl4qnqJKzzvTLqq8mayayByr2gLeaXNBQd6/39KGsim71g X-Received: by 2002:aa7:c1ca:: with SMTP id d10mr21248154edp.261.1597058698859; Mon, 10 Aug 2020 04:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597058698; cv=none; d=google.com; s=arc-20160816; b=B9U0b51RZiudcsfJWcatc5wRW2+o0Lr1jVSHdGiBFTWXnBSaKOAxyaVwhHzh8Ei6hm g2Po54C/Yx0NQNfZV+AUMVM/qZW/BvD9eYh8VsjAwdN+IXgZ7OWd9AmgL2F6yEum0pDK ErjrWB02cTxL5GwCt0RdE7D51JVOxMhPWakCCzNeDNVc0rigzLaZ/iydL7THQO9wvaB8 6SjnO6WJqTf0l0H/I33j44n9h/TycbNavJfssdplBa1vN+3/zTgkDtkEZa0kD+SyWjd4 FSQwf6lh9P7W0P1llgl3b89l8egoS1geE1htCu+IHZL9yXMY8IYf0rlRBcwKzvcjMKhD MEUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature; bh=mqnn1tcO31+McILWR4pyqetsbXKoTzHXqLT8TDtPAjM=; b=wmHYhP3JnwJZFCuQUIoO5V6DIqalQLghq7uwND3SON1DWkuhTzxD1Ixjse/6x1BU9b 9gmy7W6wVWoij6qQyOHpV5Ty9FzaHIM4K4hOcRylXmOGm/k6ut6awo0kDv6jgvNVcd+0 EC7jFaGi803qBPHAmLeYpxJGBhD18YbococfmqX66fc5J+dqIv2bnHTLZANrFp5zmkRP Ng5esqCRMGaAK8rnDQpaghfy4gSAOfECuZU0DQcW7vg07cnikByrkVruqCcQIncDyMha k6EUESEwWEYrwTP9u63lFVh8JjR9ZZHkmn3vUtUI0eY63Yr3CMwFk5hqBV1/eSuvnNPu k+YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=IB4lmdI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si11815482ejj.446.2020.08.10.04.24.36; Mon, 10 Aug 2020 04:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=IB4lmdI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbgHJLXy (ORCPT + 99 others); Mon, 10 Aug 2020 07:23:54 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:17110 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726577AbgHJLVq (ORCPT ); Mon, 10 Aug 2020 07:21:46 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1597058504; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=mqnn1tcO31+McILWR4pyqetsbXKoTzHXqLT8TDtPAjM=; b=IB4lmdI0qhVf3Ku+tBYukCkWi5BQS5/5pILIn5xoiaX+7lpjTzgDdistxtvmpC4/6+1hD+y7 J3BKg9Mv4aQoLV8w6IT+Xsr3vSjkUGwKmPcs4kcS4qLKardAsk055Tl5+Kfm6MAI2tNDu2A7 aYFujx+b3sThbVKhcj0H1AEynNU= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n11.prod.us-west-2.postgun.com with SMTP id 5f312dc72889723bf8070753 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 10 Aug 2020 11:21:43 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B9B69C433CA; Mon, 10 Aug 2020 11:21:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mkshah-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id 75A96C433C9; Mon, 10 Aug 2020 11:21:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 75A96C433C9 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=mkshah@codeaurora.org From: Maulik Shah To: bjorn.andersson@linaro.org, maz@kernel.org, linus.walleij@linaro.org, swboyd@chromium.org, evgreen@chromium.org, mka@chromium.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, agross@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, Maulik Shah Subject: [PATCH v4 5/7] pinctrl: qcom: Call our parent for irq_suspend_one / irq_resume_one Date: Mon, 10 Aug 2020 16:50:58 +0530 Message-Id: <1597058460-16211-6-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1597058460-16211-1-git-send-email-mkshah@codeaurora.org> References: <1597058460-16211-1-git-send-email-mkshah@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Douglas Anderson The parent (PDC) needs to handle this. Call it. Signed-off-by: Douglas Anderson Signed-off-by: Maulik Shah --- drivers/pinctrl/qcom/pinctrl-msm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c index c264561..eaad229 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c @@ -1237,6 +1237,8 @@ static int msm_gpio_init(struct msm_pinctrl *pctrl) pctrl->irq_chip.irq_ack = msm_gpio_irq_ack; pctrl->irq_chip.irq_set_type = msm_gpio_irq_set_type; pctrl->irq_chip.irq_set_wake = msm_gpio_irq_set_wake; + pctrl->irq_chip.irq_suspend_one = irq_chip_suspend_one_parent; + pctrl->irq_chip.irq_resume_one = irq_chip_resume_one_parent; pctrl->irq_chip.irq_request_resources = msm_gpio_irq_reqres; pctrl->irq_chip.irq_release_resources = msm_gpio_irq_relres; pctrl->irq_chip.irq_set_affinity = msm_gpio_irq_set_affinity; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation