Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754277AbaJ1PNx (ORCPT ); Tue, 28 Oct 2014 11:13:53 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:54854 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752711AbaJ1PNv (ORCPT ); Tue, 28 Oct 2014 11:13:51 -0400 MIME-Version: 1.0 In-Reply-To: <1412188684-20820-1-git-send-email-pramod.gurav@smartplayin.com> References: <1412188684-20820-1-git-send-email-pramod.gurav@smartplayin.com> Date: Tue, 28 Oct 2014 16:13:50 +0100 Message-ID: Subject: Re: [PATCH] gpio: grgpio: remove irq_domain resources on failure From: Linus Walleij To: Pramod Gurav Cc: "linux-kernel@vger.kernel.org" , Alexandre Courbot , "linux-gpio@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 1, 2014 at 8:38 PM, Pramod Gurav wrote: > Call irq_domain_remove when gpiochip_add fails to release irq_domain > resources. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: linux-gpio@vger.kernel.org > Signed-off-by: Pramod Gurav Patch applied. This driver is doing really weird stuff in it's IRQ remapping business... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/