From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pramod Gurav Subject: Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases Date: Sat, 30 Aug 2014 10:36:11 +0530 Message-ID: <54015BC3.8050703@smartplayin.com> References: <1409299909-5128-1-git-send-email-pramod.gurav@smartplayin.com> <20140829185744.GK12494@sonymobile.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp118.ord1c.emailsrvr.com ([108.166.43.118]:58786 "EHLO smtp118.ord1c.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbaH3FG2 (ORCPT ); Sat, 30 Aug 2014 01:06:28 -0400 In-Reply-To: <20140829185744.GK12494@sonymobile.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Bjorn Andersson Cc: "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , Linus Walleij , "Ivan T. Ivanov" Hi Bjorn, On 30-08-2014 12:27 AM, Bjorn Andersson wrote: > On Fri 29 Aug 01:11 PDT 2014, Pramod Gurav wrote: > >> This patch releases gpiochip related resources by calling >> gpiochip_remove when either of gpiochip_add_pin_range and >> gpiochip_irqchip_add fails. >> >> CC: Linus Walleij >> CC: Bjorn Andersson >> CC: "Ivan T. Ivanov" >> Signed-off-by: Pramod Gurav > > Acked-by: Bjorn Andersson > <..> > > It seems like pinctrl-st.c and pinctrl-sirf.c is suffering the same problem, > would you mind spinning patches for those too? Sure. Was browsing files but I was caught by this thing called sleep before I catch anything. :) Thanks for pointing them out. Will do it. > > Regards, > Bjorn > -- > 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/ >