From: Alex Bee <knaerzche@xxxxxxxxx> commit ef990bcad58cf1d13c5a49191a2c2342eb8d6709 upstream. 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@xxxxxxxxx> Link: https://lore.kernel.org/r/20200722161820.5316-1-knaerzche@xxxxxxxxx Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx> Cc: Alexander Kochetkov <al.kochet@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/clk/rockchip/clk-rk3188.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -751,6 +751,7 @@ static const char *const rk3188_critical "pclk_peri", "hclk_cpubus", "hclk_vio_bus", + "sclk_mac_lbtest", }; static struct rockchip_clk_provider *__init rk3188_common_clk_init(struct device_node *np)