From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH] gpio: max732x: Add missing dev reference to gpiochip Date: Thu, 20 Aug 2015 11:03:51 +0200 Message-ID: <201508201103.51138.marex@denx.de> References: <1435687458-4671-1-git-send-email-marex@denx.de> <201508142310.58606.marex@denx.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-out.m-online.net ([212.18.0.10]:45955 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbbHTJDx (ORCPT ); Thu, 20 Aug 2015 05:03:53 -0400 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: "linux-gpio@vger.kernel.org" , Alexandre Courbot , Mans Rullgard , Olaf Mandel , Semen Protsenko On Thursday, August 20, 2015 at 10:23:36 AM, Linus Walleij wrote: > On Fri, Aug 14, 2015 at 11:10 PM, Marek Vasut wrote: > > On Thursday, July 16, 2015 at 01:43:13 PM, Linus Walleij wrote: > >> On Tue, Jun 30, 2015 at 8:04 PM, Marek Vasut wrote: > >> > In case the gpiochip doesn't have the .dev field set, as is the case > >> > in here, it is not possible to reference this device in DT as a GPIO > >> > controller. A good example of this problem is that gpio-leds can not > >> > be used when connected to this chip, the gpio-leds driver bails out > >> > with -EPROBE_DEFER. > >> > > >> > Fix this problem by setting the .dev field of the gpio_chip to the > >> > parent i2c device. > >> > > >> > Signed-off-by: Marek Vasut > >> > Cc: Alexandre Courbot > >> > Cc: Linus Walleij > >> > Cc: Mans Rullgard > >> > Cc: Olaf Mandel > >> > Cc: Semen Protsenko > >> > >> Patch applied for fixes. > > > > Hi, > > > > I don't see this one in -next , did it get lost or something please ? > > I have no clue what you're looking at, its > commit 34ab54edbef902f31842b428dce9530f3283847c > In Torvald's tree and will be in v4.2. Odd, I see it there now too though. Thanks and sorry for the noise. Best regards, Marek Vasut