Fabio Estevam <festevam@xxxxxxxxx> writes: > On Fri, Jan 23, 2015 at 2:12 AM, Fabio Estevam <festevam@xxxxxxxxx> wrote: >> Will need to debug more. > > The problem here is that: > > nop->gpiod_reset = devm_gpiod_get(dev, "reset-gpios"); > > Always return -2. > > On imx51-babbage.dts we pass 'reset-gpios' and it used to retrieve it > fine prior to e9f2cefb0cdc2ae ("usb: phy: generic: migrate to > gpio_desc") by using of_get_named_gpio_flags(). > > Any ideas as to why devm_gpiod_get() always fail now? I think the right solution was proposed a week ago or so here : https://lkml.org/lkml/2015/1/14/1016 I added Paul to the discussion as he is the author of it. Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html