Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752774AbdHXMPp (ORCPT ); Thu, 24 Aug 2017 08:15:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:51206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752563AbdHXMPo (ORCPT ); Thu, 24 Aug 2017 08:15:44 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39C0821A1D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Thu, 24 Aug 2017 20:15:30 +0800 From: Shawn Guo To: Kiran Gunda Cc: gregkh@linuxfoundation.org, sboyd@codeaurora.org, Abhijeet Dharmapurikar , David Collins , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCH V2] spmi: pmic-arb: Move the ownership check to irq_chip callback Message-ID: <20170824121528.GD3685@dragon> References: <1503492387-6226-1-git-send-email-kgunda@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503492387-6226-1-git-send-email-kgunda@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 582 Lines: 14 On Wed, Aug 23, 2017 at 06:16:26PM +0530, Kiran Gunda wrote: > Check the irq ownership in the irq_request_resources callback > instead of checking it during the irq mapping. This can prevent > installing the flow handler for the interrupt that is not owned by the EE > and allow the irq translation during the gpio driver probe. > > Signed-off-by: Kiran Gunda It fixes qcom-spmi-gpio driver probe failure introduced by the series below. [PATCH V2 00/12]: spmi: pmic-arb: Support for HW v5 and other fixes FWIW, Tested-by: Shawn Guo