mirror of https://gitee.com/openkylin/linux.git
regulator: Show correct chip id for max8649
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
0c3d0b20cf
commit
da7de6a161
|
@ -270,7 +270,7 @@ static int __devinit max8649_regulator_probe(struct i2c_client *client,
|
|||
ret);
|
||||
goto out;
|
||||
}
|
||||
dev_info(info->dev, "Detected MAX8649 (ID:%x)\n", ret);
|
||||
dev_info(info->dev, "Detected MAX8649 (ID:%x)\n", val);
|
||||
|
||||
/* enable VID0 & VID1 */
|
||||
regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0);
|
||||
|
|
Loading…
Reference in New Issue