]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: r8a7779: Use rcar_sysc_power_{down,up}_cpu()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 May 2018 15:25:14 +0000 (17:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Jun 2018 10:00:28 +0000 (12:00 +0200)
commitd76bf0c501b7e8767338e8c0733e0299dd560fd8
tree395cd12013f679d861a09e094f6ce52403ba1fa0
parentdf7aa7322fc6a5174348cc451c2d1f619857ba69
ARM: shmobile: r8a7779: Use rcar_sysc_power_{down,up}_cpu()

The r8a7779 SMP code calls rcar_sysc_power_{down,up}() to control power
to the SYSC power areas containing CPUs. This requires passing full CPU
power area parameter blocks.

Migrate the code to call the new rcar_sysc_power_{down,up}_cpu()
helpers, which just take a CPU index, and use the SYSC power area
definitions from the r8a7779-sysc driver.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7779.c