提交 ee177d96 编写于 作者: R Rhyland Klein 提交者: Anton Vorontsov

bq20z75: Enable detection after registering

Need to enable detection, which is also blocking the unit conversion logic
after registering the power_supply.
Signed-off-by: NRhyland Klein <rklein@nvidia.com>
Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
上级 58ddafae
......@@ -702,6 +702,8 @@ static int __devinit bq20z75_probe(struct i2c_client *client,
INIT_DELAYED_WORK(&bq20z75_device->work, bq20z75_delayed_work);
bq20z75_device->enable_detection = true;
return 0;
exit_psupply:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册