Commit 265de225 authored by Finley Xiao's avatar Finley Xiao Committed by Kleber Sacilotto de Souza

clk: rockchip: fix rk3188 sclk_smc gate data

BugLink: https://bugs.launchpad.net/bugs/1858489

[ Upstream commit a9f0c0e5 ]

Fix sclk_smc gate data.
Change variable order, flags come before the register address.
Signed-off-by: default avatarFinley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: default avatarJohan Jonker <jbx9999@hotmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarConnor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 3bd924e5
...@@ -360,8 +360,8 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = { ...@@ -360,8 +360,8 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = {
* Clock-Architecture Diagram 4 * Clock-Architecture Diagram 4
*/ */
GATE(SCLK_SMC, "sclk_smc", "hclk_peri", GATE(SCLK_SMC, "sclk_smc", "hclk_peri", 0,
RK2928_CLKGATE_CON(2), 4, 0, GFLAGS), RK2928_CLKGATE_CON(2), 4, GFLAGS),
COMPOSITE_NOMUX(SCLK_SPI0, "sclk_spi0", "pclk_peri", 0, COMPOSITE_NOMUX(SCLK_SPI0, "sclk_spi0", "pclk_peri", 0,
RK2928_CLKSEL_CON(25), 0, 7, DFLAGS, RK2928_CLKSEL_CON(25), 0, 7, DFLAGS,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment