Re: [PATCH v2] usb: phy: generic: Do not fail when 'reset-gpios' is not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux