Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753563AbbBJIup (ORCPT ); Tue, 10 Feb 2015 03:50:45 -0500 Received: from mail-ie0-f175.google.com ([209.85.223.175]:40176 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752830AbbBJIuo (ORCPT ); Tue, 10 Feb 2015 03:50:44 -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> From: Alexandre Courbot Date: Tue, 10 Feb 2015 17:50:22 +0900 Message-ID: Subject: Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node To: Hans Holmberg Cc: Linus Walleij , "linux-gpio@vger.kernel.org" , Linux Kernel Mailing List , Robert Jarzmik , Howard Cochran , Daniel Mack , Tyler Hall 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: 834 Lines: 22 On Tue, Feb 10, 2015 at 5:48 PM, 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 Acked-by: Alexandre Courbot Thanks! -- 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/