mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 07:20:52 +07:00
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: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
This commit is contained in:
parent
58ddafae2d
commit
ee177d96e0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user