From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751224AbaH3FGa (ORCPT ); Sat, 30 Aug 2014 01:06:30 -0400 Received: from smtp113.ord1c.emailsrvr.com ([108.166.43.113]:56839 "EHLO smtp113.ord1c.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbaH3FG2 (ORCPT ); Sat, 30 Aug 2014 01:06:28 -0400 X-Sender-Id: pramod.gurav@smartplayin.com Message-ID: <54015BC3.8050703@smartplayin.com> Date: Sat, 30 Aug 2014 10:36:11 +0530 From: Pramod Gurav User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Bjorn Andersson CC: "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , Linus Walleij , "Ivan T. Ivanov" Subject: Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases References: <1409299909-5128-1-git-send-email-pramod.gurav@smartplayin.com> <20140829185744.GK12494@sonymobile.com> In-Reply-To: <20140829185744.GK12494@sonymobile.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ >