Commit ee177d96 authored by Rhyland Klein's avatar Rhyland Klein Committed by 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: default avatarRhyland Klein <rklein@nvidia.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment