summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-12-21 17:36:52 +0300
committerSebastian Reichel <sre@kernel.org>2017-01-05 00:02:56 +0300
commit71851a63af60cb98cb877e52776b2700e868683b (patch)
tree284ea4f5407df54abd867c29e6c61f7d927df4a3 /tools/perf/scripts/python/sched-migration.py
parent7508f44129ca3dc749d057fa8c6f7164d85153db (diff)
downloadlinux-71851a63af60cb98cb877e52776b2700e868683b.tar.xz
power: supply: axp288_charger: Handle charger type changing without disconnect
Deal with the charger type changing without a vbus-disconnect being reported in between the 2 charger type states: -Do not return from axp288_charger_extcon_evt_worker early in this case (track old_chg_type) -Make calling axp288_charger_enable_charger with the same value as before a nop, to avoid the need for the caller to check this -Do no do a dev_err when axp288_charger_enable_charger returns an error, axp288_charger_enable_charger already returns an error itself -Disable the charger before changing the charge-current setting (nop if vbus was seen as disconnected before the change) Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions