clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
authorAlex Bee <knaerzche@gmail.com>
Wed, 22 Jul 2020 16:18:20 +0000 (18:18 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 22 Jul 2020 18:05:19 +0000 (20:05 +0200)
Since the loopbacktest clock is not exported and is not touched in the
driver, it has to be added to rk3188_critical_clocks to be protected from
being disabled and in order to get the emac working.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20200722161820.5316-1-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3188.c

index 77aebfb1d6d5b0cfaebd5b42c932ee24e12ab0cc..730020fcc7fed5ea65d61a1ff7fe27e202498d06 100644 (file)
@@ -751,6 +751,7 @@ static const char *const rk3188_critical_clocks[] __initconst = {
        "pclk_peri",
        "hclk_cpubus",
        "hclk_vio_bus",
+       "sclk_mac_lbtest",
 };
 
 static struct rockchip_clk_provider *__init rk3188_common_clk_init(struct device_node *np)