[PATCH rtems-libbsd] imx6_usbphy: Fix regulator (vbus-supply)

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Apr 20 07:26:24 UTC 2020


On 17/04/2020 19:27, Gedare Bloom wrote:
> push after testing, thanks

Thanks. I tested and pushed it.

> 
> On Fri, Apr 17, 2020 at 7:08 AM Christian Mauderer
> <christian.mauderer at embedded-brains.de> wrote:
>>
>> Update #3869.
>> ---
>>  freebsd/sys/arm/freescale/imx/imx6_usbphy.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/freebsd/sys/arm/freescale/imx/imx6_usbphy.c b/freebsd/sys/arm/freescale/imx/imx6_usbphy.c
>> index 7df2e124..508e49c8 100644
>> --- a/freebsd/sys/arm/freescale/imx/imx6_usbphy.c
>> +++ b/freebsd/sys/arm/freescale/imx/imx6_usbphy.c
>> @@ -134,7 +134,7 @@ usbphy_attach(device_t dev)
>>  #ifdef __rtems__
>>         node = ofw_bus_get_node(dev);
>>         if (OF_hasprop(node, "vbus-supply")) {
>> -               rv = regulator_get_by_ofw_property(sc->dev, 0, "vbus-supply",
>> +               rv = regulator_get_by_ofw_property(sc->dev, node, "vbus-supply",
>>                     &sc->supply_vbus);
>>                 if (rv != 0) {
>>                         device_printf(sc->dev,
>> --
>> 2.16.4
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel

-- 
--------------------------------------------
embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list