mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 13:25:20 +02:00
![]() [ Upstream commit 1f8af9712413f456849fdf3f3a782cbe099476d7 ]
The platform device named "rzg2l-usb-vbus-regulator", allocated by
the rzg2l-usbphy-ctrl driver, is used to instantiate a regulator driver.
This regulator driver is associated with a device tree (DT) node, which
is a child of the rzg2l-usbphy-ctrl DT node. The regulator's DT node allows
consumer nodes to reference the regulator and configure the regulator as
needed.
Starting with commit cd7a38c40b23 ("regulator: core: do not silently ignore
provided init_data") the struct regulator_dev::dev::of_node is no longer
populated using of_node_get(config->of_node) if the regulator does not
provide init_data. Since the rzg2l-usb-vbus-regulator does not provide
init_data, this behaviour causes the of_find_regulator_by_node() function
to fails, resulting in errors when attempting to request the regulator.
To fix this issue, call device_set_of_node_from_dev() for the
"rzg2l-usb-vbus-regulator" platform device.
Fixes:
|
||
---|---|---|
.. | ||
hisilicon | ||
starfive | ||
sti | ||
tegra | ||
core.c | ||
Kconfig | ||
Makefile | ||
reset-a10sr.c | ||
reset-ath79.c | ||
reset-axs10x.c | ||
reset-bcm6345.c | ||
reset-berlin.c | ||
reset-brcmstb-rescal.c | ||
reset-brcmstb.c | ||
reset-eyeq.c | ||
reset-gpio.c | ||
reset-hsdk.c | ||
reset-imx7.c | ||
reset-imx8mp-audiomix.c | ||
reset-intel-gw.c | ||
reset-k210.c | ||
reset-lantiq.c | ||
reset-lpc18xx.c | ||
reset-ma35d1.c | ||
reset-meson-audio-arb.c | ||
reset-meson.c | ||
reset-microchip-sparx5.c | ||
reset-mpfs.c | ||
reset-npcm.c | ||
reset-pistachio.c | ||
reset-qcom-aoss.c | ||
reset-qcom-pdc.c | ||
reset-raspberrypi.c | ||
reset-rzg2l-usbphy-ctrl.c | ||
reset-scmi.c | ||
reset-simple.c | ||
reset-socfpga.c | ||
reset-sunplus.c | ||
reset-sunxi.c | ||
reset-ti-sci.c | ||
reset-ti-syscon.c | ||
reset-tn48m.c | ||
reset-tps380x.c | ||
reset-uniphier-glue.c | ||
reset-uniphier.c | ||
reset-zynq.c | ||
reset-zynqmp.c |