Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754522AbbBRRUN (ORCPT ); Wed, 18 Feb 2015 12:20:13 -0500 Received: from mail-ob0-f170.google.com ([209.85.214.170]:39066 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312AbbBRRPL (ORCPT ); Wed, 18 Feb 2015 12:15:11 -0500 MIME-Version: 1.0 In-Reply-To: <1423558107-23264-1-git-send-email-hans.holmberg@intel.com> References: <1423558107-23264-1-git-send-email-hans.holmberg@intel.com> Date: Wed, 18 Feb 2015 18:15:10 +0100 Message-ID: Subject: Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node From: Linus Walleij To: Hans Holmberg Cc: Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Robert Jarzmik , cochran@lexmark.com, Daniel Mack , tylerwhall@gmail.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 25 On Tue, Feb 10, 2015 at 9:48 AM, Hans Holmberg wrote: > The change: > > 7b8792bbdffdff3abda704f89c6a45ea97afdc62 > gpiolib: of: Correct error handling in of_get_named_gpiod_flags > > assumed that only one gpio-chip is registred per of-node. > Some drivers register more than one chip per of-node, so > adjust the matching function of_gpiochip_find_and_xlate to > not stop looking for chips if a node-match is found and > the translation fails. > > Signed-off-by: Hans Holmberg OK this patch applied for stable and pushed for testing in -next. 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/