]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
clk: rockchip: fix rk3188 sclk_mac_lbtest parameter ordering
authorHeiko Stuebner <heiko@sntech.de>
Thu, 15 Nov 2018 11:17:30 +0000 (12:17 +0100)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:06 +0000 (14:22 -0300)
BugLink: https://bugs.launchpad.net/bugs/1857158
[ Upstream commit ac8cb53829a6ba119082e067f5bc8fab3611ce6a ]

Similar to commit a9f0c0e56371 ("clk: rockchip: fix rk3188 sclk_smc
gate data") there is one other gate clock in the rk3188 clock driver
with a similar wrong ordering, the sclk_mac_lbtest. So fix it as well.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/clk/rockchip/clk-rk3188.c

index 9a6ad5a4cdf06218180cdbb2f8df9dbfd8e938e4..2ca7e2be2f09e50e8b63ad3642fc78775017256a 100644 (file)
@@ -362,8 +362,8 @@ static struct rockchip_clk_branch common_clk_branches[] __initdata = {
                        RK2928_CLKGATE_CON(2), 5, GFLAGS),
        MUX(SCLK_MAC, "sclk_macref", mux_sclk_macref_p, CLK_SET_RATE_PARENT,
                        RK2928_CLKSEL_CON(21), 4, 1, MFLAGS),
-       GATE(0, "sclk_mac_lbtest", "sclk_macref",
-                       RK2928_CLKGATE_CON(2), 12, 0, GFLAGS),
+       GATE(0, "sclk_mac_lbtest", "sclk_macref", 0,
+                       RK2928_CLKGATE_CON(2), 12, GFLAGS),
 
        COMPOSITE(0, "hsadc_src", mux_pll_src_gpll_cpll_p, 0,
                        RK2928_CLKSEL_CON(22), 0, 1, MFLAGS, 8, 8, DFLAGS,