diff options
author | Samuel Holland <samuel@sholland.org> | 2021-01-03 14:06:33 +0300 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2021-01-06 14:33:57 +0300 |
commit | 22754ac9a632f9bcb2cfd91243459e679778a497 (patch) | |
tree | 878f6131a7041122544e7be658b868ec95d518be /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 014d65b60e46e1af262419139c07bfa1f0775715 (diff) | |
download | linux-22754ac9a632f9bcb2cfd91243459e679778a497.tar.xz |
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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions