diff options
author | Georges Savoundararadj <[email protected]> | 2016-09-07 18:38:15 -0700 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2016-09-19 20:56:22 +0200 |
commit | 0610735928ee47870e083d5901caa371089216f1 (patch) | |
tree | eb5798b6c09efd4bd5012b3990cf7d4e94780fae /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9edeaada19a21eb669ae0dfe749be88f1810ea92 (diff) |
power: bq24257: Fix use of uninitialized pointer bq->charger
bq->charger is initialized in bq24257_power_supply_init.
Therefore, bq24257_power_supply_init should be called before the
registration of the IRQ handler bq24257_irq_handler_thread that calls
power_supply_changed(bq->charger).
Signed-off-by: Georges Savoundararadj <[email protected]>
Cc: Aurelien Chanot <[email protected]>
Cc: Andreas Dannenberg <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: David Woodhouse <[email protected]>
Fixes: 2219a935963e ("power_supply: Add TI BQ24257 charger driver")
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions