[PATCH 7/8] power: pmic: tps65491: Dont fail on master node

Neha Malcom Francis n-francis at ti.com
Mon Apr 10 16:15:45 CEST 2023


From: Gowtham Tammana <g-tammana at ti.com>

TPS65941 can have child only ESM nodes with no regulators, so dont fail
on regulator probe failure.

Signed-off-by: Gowtham Tammana <g-tammana at ti.com>
Signed-off-by: Neha Malcom Francis <n-francis at ti.com>
---
 drivers/power/pmic/tps65941.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c
index 83d0f83c64..06a3c1406c 100644
--- a/drivers/power/pmic/tps65941.c
+++ b/drivers/power/pmic/tps65941.c
@@ -51,7 +51,6 @@ static int tps65941_bind(struct udevice *dev)
 	if (!ofnode_valid(regulators_node)) {
 		debug("%s: %s regulators subnode not found!\n", __func__,
 		      dev->name);
-		return -ENXIO;
 	}
 
 	debug("%s: '%s' - found regulators subnode\n", __func__, dev->name);
-- 
2.34.1



More information about the U-Boot mailing list