aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Rosin <[email protected]>2016-12-20 12:33:01 +0100
committerSebastian Reichel <[email protected]>2017-01-04 22:00:48 +0100
commita07bea32c612bf32b7f36c0eb0b1e2f5c444183e (patch)
tree4be1d42d074950dec9c6f8fc91a16e5225a79bea /tools/perf/scripts/python
parent2e66585ca255df195278a50143e0bccf26d735d6 (diff)
power: supply: bq24735: configure the charger as part of enabling it
During probe, it makes no sense to take care to first not issue any i2c commands to verify if the connected part really is a bq24735, to later simply fail the probe in the next step when trying to configure the charger. So, delay configuration of the charging parameters until the charger is accessible (i.e. when the AC adapter is present) as part of enabling the charging. This also fixes the rather serious issue that the charging parameters are lost when the AC adapter is disconnected. Signed-off-by: Peter Rosin <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions