From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH V2 5/5] spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup capability Date: Mon, 10 Jul 2017 18:22:36 -0700 Message-ID: <20170711012236.GN22780@codeaurora.org> References: <1499690549-30765-1-git-send-email-kgunda@codeaurora.org> <1499690549-30765-6-git-send-email-kgunda@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:46834 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbdGKBWi (ORCPT ); Mon, 10 Jul 2017 21:22:38 -0400 Content-Disposition: inline In-Reply-To: <1499690549-30765-6-git-send-email-kgunda@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Kiran Gunda Cc: gregkh@linuxfoundation.org, Abhijeet Dharmapurikar , Christophe JAILLET , Nicholas Troast , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org On 07/10, Kiran Gunda wrote: > Currently the driver sets the pmic arbiter core interrupt as wakeup capable > irrespective of the child irqs which causes the system to wakeup > unnecessarily. To fix this, set the core interrupt as wakeup capable > only if any of the child irqs request for it. Do this by marking it as > wakeup capable in the irq_set_wake callback. > > Signed-off-by: Kiran Gunda > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project