On Tue, Jun 30, 2015 at 8:04 PM, Marek Vasut <[email protected]> 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 <[email protected]> > Cc: Alexandre Courbot <[email protected]> > Cc: Linus Walleij <[email protected]> > Cc: Mans Rullgard <[email protected]> > Cc: Olaf Mandel <[email protected]> > Cc: Semen Protsenko <[email protected]>
Patch applied for fixes. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
