Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932719AbaFLISK (ORCPT ); Thu, 12 Jun 2014 04:18:10 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:42946 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932637AbaFLISG (ORCPT ); Thu, 12 Jun 2014 04:18:06 -0400 MIME-Version: 1.0 In-Reply-To: <20140602231423.GF11004@atomide.com> References: <1398266889-17489-1-git-send-email-thierry.reding@gmail.com> <1398266889-17489-2-git-send-email-thierry.reding@gmail.com> <20140602230457.GE11004@atomide.com> <20140602231423.GF11004@atomide.com> Date: Thu, 12 Jun 2014 10:18:05 +0200 Message-ID: Subject: Re: [PATCH 2/2] gpio: of: Allow -gpio suffix for property names From: Linus Walleij To: Tony Lindgren Cc: Thierry Reding , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linux-OMAP 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 Tue, Jun 3, 2014 at 1:14 AM, Tony Lindgren wrote: > Looks like something like below fixes the issue. > > Regards, > > Tony > > 8< ----------------------- > From: Tony Lindgren > Date: Mon, 2 Jun 2014 16:13:46 -0700 > Subject: [PATCH] gpio: of: Fix handling for deferred probe for -gpio suffix > > Commit dd34c37aa3e (gpio: of: Allow -gpio suffix for property names) > added parsing for both -gpio and -gpios suffix but also changed > the handling for deferred probe unintentionally. Because of the > looping the second name will now return -ENOENT instead of > -EPROBE_DEFER. Fix the issue by breaking out of the loop if > -EPROBE_DEFER is encountered. > > Signed-off-by: Tony Lindgren Patch applied for fixes with Thierry's Reveiwed-by tag. 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/