Skip to contentSkip to conversation

clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks

PATCH Applied Alex Bee 2 participants 2 messages Jul 22, 2020

Subsystems (2)
lore
Share & tools
lore

Alex Bee

author
#0 lore raw

PATCH v2 1/1 clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks

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.

---

Changes in v2:
- add sclk_mac_lbtest to rk3188_critical_clocks instead of adding the CLOCK_IGNORE_UNUSED flag

 drivers/clk/rockchip/clk-rk3188.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/rockchip/clk-rk3188.c +1 -0
index 77aebfb1d6d5..730020fcc7fe 100644
@@ -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)
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 3 lines · Alex Bee

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.

Applied, thanks!

[1/1] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks

      commit: ef990bcad58cf1d13c5a49191a2c2342eb8d6709

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>