Commit fbfe4a8e authored by Finley Xiao's avatar Finley Xiao Committed by Greg Kroah-Hartman

clk: rockchip: fix rk3188 sclk_smc gate data

[ 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>
parent ef750045
...@@ -390,8 +390,8 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = { ...@@ -390,8 +390,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