diff options
author | Samuel Holland <samuel@sholland.org> | 2022-12-28 19:27:52 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-02-22 11:25:52 +0300 |
commit | 1b1305e95e85624f538ec56db9acf88e2d3d7397 (patch) | |
tree | 83b0b7dad14a8900e75ff0d6091ef83c68d9b044 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 88a32c2c5e98d72765846db83c1739e7b036770a (diff) | |
download | linux-1b1305e95e85624f538ec56db9acf88e2d3d7397.tar.xz |
mfd: axp20x: Switch to the sys-off handler API
This removes a layer of indirection through pm_power_off() and allows
the PMIC handler to be used as a fallback when firmware power off fails.
This happens on boards like the Clockwork DevTerm R-01 where OpenSBI
does not know how to use the PMIC to power off the board.
Move the check for AXP288 to avoid registering a dummy handler.
Signed-off-by: Samuel Holland <samuel@sholland.org>
[Lee: Removed superfluous new line]
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221228162752.14204-1-samuel@sholland.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions