提交 08b72863 编写于 作者: F Fabio Estevam 提交者: Stefano Babic

mx6slevk: Fix the pmic_get() parameter in the DM case

When pmic_get() is used with DM the first parameter must be
the complete node name plus the unit address, so fix it
accordingly.
Reported-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: NFabio Estevam <festevam@gmail.com>
Reviewed-by: NPeng Fan <peng.fan@nxp.com>
上级 94b29363
......@@ -145,7 +145,7 @@ int power_init_board(void)
u32 switch_num = 6;
u32 offset = PFUZE100_SW1CMODE;
ret = pmic_get("pfuze100", &dev);
ret = pmic_get("pfuze100@08", &dev);
if (ret == -ENODEV)
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册