Commit da7de6a1 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: Show correct chip id for max8649

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 0c3d0b20
...@@ -270,7 +270,7 @@ static int __devinit max8649_regulator_probe(struct i2c_client *client, ...@@ -270,7 +270,7 @@ static int __devinit max8649_regulator_probe(struct i2c_client *client,
ret); ret);
goto out; 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 */ /* enable VID0 & VID1 */
regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0); regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment