]> git.baikalelectronics.ru Git - kernel.git/commit
soc: bcm: bcm2835-power: Refactor ASB control
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 25 Jun 2022 11:36:16 +0000 (13:36 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Jul 2022 10:59:21 +0000 (11:59 +0100)
commit54c9603c52f5dfbf79cebbaf69ca522621a724bb
tree00e2eeba658f1345274cb33dd3e89279e8ced99d
parentc2621555ee0987692e250447dc91ca0adc55c6a0
soc: bcm: bcm2835-power: Refactor ASB control

The functions to control the async AXI bridges are almost identical.
So define a general function to handle it and keep the original ones as
wrapper. This should make this driver easier to extend.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220625113619.15944-9-stefan.wahren@i2se.com
drivers/soc/bcm/bcm2835-power.c