[PATCH] arm: exynos: Use proper PMIC device name
Marek Szyprowski
m.szyprowski at samsung.com
Wed Jan 15 16:16:52 CET 2020
Since commit 4213609cc7 ("drivers: core: use strcmp when find device by
name") one has to provide full name to get requested object. Fix the code
used to detect enable power regulators on Odroid boards to use proper PMIC
device device name then.
Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
---
board/samsung/common/exynos5-dt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/samsung/common/exynos5-dt.c b/board/samsung/common/exynos5-dt.c
index 87eb381345..c5e77480f5 100644
--- a/board/samsung/common/exynos5-dt.c
+++ b/board/samsung/common/exynos5-dt.c
@@ -64,7 +64,7 @@ int exynos_power_init(void)
int ret;
#ifdef CONFIG_PMIC_S2MPS11
- ret = pmic_get("s2mps11_pmic", &dev);
+ ret = pmic_get("s2mps11_pmic at 66", &dev);
#else
ret = pmic_get("max77686", &dev);
if (!ret) {
--
2.17.1
More information about the U-Boot
mailing list