Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751791AbdHAHtS (ORCPT ); Tue, 1 Aug 2017 03:49:18 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:38143 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbdHAHtQ (ORCPT ); Tue, 1 Aug 2017 03:49:16 -0400 MIME-Version: 1.0 In-Reply-To: <20170708224413.18281-2-grygorii.strashko@ti.com> References: <20170708224413.18281-1-grygorii.strashko@ti.com> <20170708224413.18281-2-grygorii.strashko@ti.com> From: Linus Walleij Date: Tue, 1 Aug 2017 09:49:14 +0200 Message-ID: Subject: Re: [RFC/RFT PATCH 1/3] gpio: tegra: 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: 409 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 obviously the right way to do it. Tegra people: please test. Yours, Linus Walleij