Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1114559pxa; Thu, 13 Aug 2020 00:24:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7md2F2xYFpbFvGcvucyV5deAN86+9UXed5NlTQY66OzQ4D8Qe4zazOZpR5jm/geFku/Av X-Received: by 2002:a17:906:9618:: with SMTP id s24mr3503517ejx.53.1597303456204; Thu, 13 Aug 2020 00:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597303456; cv=none; d=google.com; s=arc-20160816; b=MFAjDKaK7J0fbnOUyslXmXYZuy245VVoL1tP9ufB43fwhSwaLoop0cQ961x/Wd816q DZKJAe8emR753VABoAYxIGrz2yFHFi1C90IQtbRU+jt1oREv5QtXTx+oNMMR9SwOb/XU 6JkoMoL4yPSQKBRMOZQiuRX5xxsNMzI9Rekje9NMTs4TfB1zQV7FHkEbUFL79iUh4Har 4VBL0/RZWF13GxiCfQBORc3WZKcKWAHDlEpJg5/6BXeyEqt7Mrlx4u/VfFQ/R6n+aB5T vZ1E8lmyWH1dbl9LDrLT0pAgj+dKG4xkT/u6cARGe41t0bKJ9TgLUXI9KR8LQF/dNPAr eLrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=Sb/qdUmtKdQcZzhXqvBHC/XQvL7lTUC7aHl/KOqJRQE=; b=y545GnGuMZki1ZMY75zDzBIqNUj2uhJG4EhYA+0WMMFVQcZdtXoaFpAfOvphaBKJ6P BEGcSqo5uhOHofSi2vM67Lf8BWYhvwpUeIxJI/q0Qs1/uMXskRSk9M96pwxIE/56ncSs pYQcmN+k4IHMdixUJelliPhZ7ETS7R/qkjhIxMELlsekoIUi56rjBdams45GWRKoD4eh TfG/Tqo3mmEx3QklDmWOUJEfwlrEJZFRp5fA/ccji+XXzGiiN4DCtQfZzRrBzT+tykCm XbYYjJ2JHFyIOuK55IVfSi8j/PvFZkC8+OsickplErbEAjP6QUfRs6DD7Y5msCtsWOGz MYxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=U+LjHqds; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w1si2629984ejc.440.2020.08.13.00.23.52; Thu, 13 Aug 2020 00:24:16 -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=pass header.i=@chromium.org header.s=google header.b=U+LjHqds; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbgHMHVK (ORCPT + 99 others); Thu, 13 Aug 2020 03:21:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726048AbgHMHVJ (ORCPT ); Thu, 13 Aug 2020 03:21:09 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1185C061757 for ; Thu, 13 Aug 2020 00:21:09 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id x6so2365259pgx.12 for ; Thu, 13 Aug 2020 00:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=Sb/qdUmtKdQcZzhXqvBHC/XQvL7lTUC7aHl/KOqJRQE=; b=U+LjHqdsm2Fo1v2iltmwYb6XwNstuN6jBf9ShIKaaSZSsYSdoPLw48TdXRfbxT3G3Y wQD4WcP1YNQXI5gbrKqNY4EL2Y+TNhEciZ/GLFlUFr0rgsFt4wQd35C+D2m0uUupNrHC 52z7YOrrDdtvC37nsKqD2bf3CbWxN8FBzyoFE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=Sb/qdUmtKdQcZzhXqvBHC/XQvL7lTUC7aHl/KOqJRQE=; b=Xt3krtTz00wzVBVOlB2KYB+gTGjTBSVVoo1EwdwR7kicKQzof7jdYaPT4qfdo26lh1 7aKzn+jaohw4DxUAODOd7qxamMD6njPHiffsxhq0zSVCYx9QNAA12Kb2erYkkS4TLthW nCZN4pIzyvTIKl76/PJp2pACsU7rhC3gVZZfeH+KwfQeNHVTZ6pJyIqnLAkoGK0b3WGP 4vuJfKj+aks4IWNzWqNhiiaWd6avdnWLVcwtm1IgfvqtgnV7zsZvZPt5dBKhnzN1NRew UANiKbhuPLEvZeo9xU6S1MLKlTu18vNuGx/+R9+qTBcINUQIDpF41HT2SqvY8miL61Yo jisw== X-Gm-Message-State: AOAM530KMoKR2KJgD75BgVoqReXWBDBOBuh5IrGo4ZFLovP6iiqvWFyA Em3i1ws2KiP4xeoQg2NqioD1n3pccvQ= X-Received: by 2002:a63:5613:: with SMTP id k19mr2638912pgb.424.1597303268734; Thu, 13 Aug 2020 00:21:08 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id r28sm4575088pfg.158.2020.08.13.00.21.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 00:21:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <1597058460-16211-1-git-send-email-mkshah@codeaurora.org> <1597058460-16211-3-git-send-email-mkshah@codeaurora.org> <159717444178.1360974.6520145243224264090@swboyd.mtv.corp.google.com> Subject: Re: [PATCH v4 2/7] pinctrl: qcom: Use return value from irq_set_wake call From: Stephen Boyd 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 To: Maulik Shah , bjorn.andersson@linaro.org, evgreen@chromium.org, linus.walleij@linaro.org, maz@kernel.org, mka@chromium.org Date: Thu, 13 Aug 2020 00:21:06 -0700 Message-ID: <159730326694.33733.15791110829493100948@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Maulik Shah (2020-08-13 00:17:18) > Hi, >=20 > On 8/12/2020 1:04 AM, Stephen Boyd wrote: > > Quoting Maulik Shah (2020-08-10 04:20:55) > >> msmgpio irqchip is not using return value of irq_set_wake call. > >> Start using it. > > Does this work when the irq parent isn't setup in a hierarchy? > yes it works fine even when parent isn't setup in hierarchy. > > I seem to > > recall that this was written this way because sometimes > > irq_set_irq_wake() would fail for the summary irq so it was a best > > effort setting of wake on the summary line. > Thanks for pointing this. >=20 > It was written this way since previously GIC driver neither had=20 > IRQCHIP_SKIP_SET_WAKE flag nor it implemented .irq_set_wake callback, >=20 > so the call to irq_set_irq_wake() to set_irq_wake_real() used to return=20 > error -ENXIO in past. >=20 > I see this is already taken care now in GIC drivers by adding=20 > IRQCHIP_SKIP_SET_WAKE flag. Ok, great. Thanks for double checking. Can you add those details to the commit message so we don't forget? And then I'm happy to see:=20 Reviewed-by: Stephen Boyd