From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756070AbcINGWK (ORCPT ); Wed, 14 Sep 2016 02:22:10 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:56299 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbcINGWI (ORCPT ); Wed, 14 Sep 2016 02:22:08 -0400 Subject: Re: [PATCH] driver: base: pinctrl: return error from pinctrl_bind_pins() To: Linus Walleij References: <57D7A700.8080402@mentor.com> <57D80212.7060303@mentor.com> CC: "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , vzapolsk From: Deepak Das Message-ID: <57D8EC88.1060808@mentor.com> Date: Wed, 14 Sep 2016 11:52:00 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 14 September 2016 02:31 AM, Linus Walleij wrote: > On Tue, Sep 13, 2016 at 3:41 PM, Deepak Das wrote: > >>> Can you confim that this works for you too? >> >> Yes, This works for me as well but do we really need this extra error >> message ? > > Nah, good point. I'll go in and drop it then. Hi Linus, I will release V2 version of this patch with following change :- - /* Only return deferrals */ + /* Return deferrals & invalid pin requests */ if ((ret != -EPROBE_DEFER) && (ret != -EINVAL)) ret = 0; Thanks & regards, Deepak Das > > Yours, > Linus Walleij >