Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753222AbbBJRIc (ORCPT ); Tue, 10 Feb 2015 12:08:32 -0500 Received: from smtp05.smtpout.orange.fr ([80.12.242.127]:45799 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893AbbBJRIa (ORCPT ); Tue, 10 Feb 2015 12:08:30 -0500 X-ME-Helo: beldin X-ME-Date: Tue, 10 Feb 2015 18:08:29 +0100 X-ME-IP: 109.220.218.8 From: Robert Jarzmik To: Alexandre Courbot Cc: Hans Holmberg , Linus Walleij , "linux-gpio\@vger.kernel.org" , Linux Kernel Mailing List , Howard Cochran , Daniel Mack , Tyler Hall Subject: Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node References: <1423558107-23264-1-git-send-email-hans.holmberg@intel.com> X-URL: http://belgarath.falguerolles.org/ Date: Tue, 10 Feb 2015 18:08:26 +0100 In-Reply-To: (Alexandre Courbot's message of "Tue, 10 Feb 2015 17:50:22 +0900") Message-ID: <87a90l7kz9.fsf@free.fr> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 29 Alexandre Courbot writes: > 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 Tested-by: Robert Jarzmik (on arm pxa architecture) Cheers. -- Robert -- 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/