Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751761AbdHAHr7 (ORCPT ); Tue, 1 Aug 2017 03:47:59 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:35643 "EHLO mail-it0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917AbdHAHr6 (ORCPT ); Tue, 1 Aug 2017 03:47:58 -0400 MIME-Version: 1.0 In-Reply-To: <20170708224413.18281-3-grygorii.strashko@ti.com> References: <20170708224413.18281-1-grygorii.strashko@ti.com> <20170708224413.18281-3-grygorii.strashko@ti.com> From: Linus Walleij Date: Tue, 1 Aug 2017 09:47:56 +0200 Message-ID: Subject: Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers To: Grygorii Strashko Cc: Robert Jarzmik , Thierry Reding , Jonathan Hunter , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-tegra@vger.kernel.org" , Jerome Brunet Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 400 Lines: 17 On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko wrote: > gpio_to_irq() API expected to be used by GPIO consumers and > not drivers and there are no guarantee that its gpiolib implementation > is irq safe. > > Signed-off-by: Grygorii Strashko Patch applied. This is the right thing to do. PXA developers: please test. Yours, Linus Walleij