diff options
author | Samuel Holland <samuel@sholland.org> | 2021-01-03 05:06:33 -0600 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2021-01-06 19:33:57 +0800 |
commit | 22754ac9a632f9bcb2cfd91243459e679778a497 (patch) | |
tree | 878f6131a7041122544e7be658b868ec95d518be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 014d65b60e46e1af262419139c07bfa1f0775715 (diff) |
bus: sunxi-rsb: Split out controller init/exit functions
This separates the resource acquisition from the hardware initialization
phase, so the hardware initialization can be repeated after system
suspend/resume. The same is done for the exit/remove function, except
that there is no resource deallocation phase due to the use of devres.
The requested RSB clock frequency is stored in `struct sunxi_rsb` so it
will be available when reinitializing the hardware.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions