From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Wed, 15 Jan 2020 17:05:36 +0100 Subject: [PATCH] arm: exynos: Use proper PMIC device name In-Reply-To: <20200115151652.10826-1-m.szyprowski@samsung.com> References: <20200115151652.10826-1-m.szyprowski@samsung.com> Message-ID: <20200115170536.72b43f33@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 15 Jan 2020 16:16:52 +0100 Marek Szyprowski wrote: > 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 > --- > 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) { Reviewed-by: Lukasz Majewski Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: