aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2020-01-12 21:53:03 -0600
committerSebastian Reichel <[email protected]>2020-01-14 01:00:28 +0100
commit1c51aad8475d670ad58ae60adc9d32342381df8d (patch)
treeea5fb2b190a1994d702a0a066c60d0cf9ed03083 /tools/perf/scripts/python/syscall-counts.py
parent921377c0b4e8e240e0b56cb13bc22f2ecc4e59df (diff)
power: supply: axp20x_ac_power: Fix reporting online status
AXP803/AXP813 have a flag that enables/disables the AC power supply input. This flag does not affect the status bits in PWR_INPUT_STATUS. Its effect can be verified by checking the battery charge/discharge state (bit 2 of PWR_INPUT_STATUS), or by examining the current draw on the AC input. Take this flag into account when getting the ONLINE property of the AC input, on PMICs where this flag is present. Fixes: 7693b5643fd2 ("power: supply: add AC power supply driver for AXP813") Cc: [email protected] Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions