[][change 7981 clk drivers]
[Description]
Change 7981 clk drivers
[Release-log]
N/A
Change-Id: I9b4528050806db1b6f9db71e21257866fc84a645
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5377958
diff --git a/target/linux/mediatek/files-5.4/drivers/clk/mediatek/clk-mt7981.c b/target/linux/mediatek/files-5.4/drivers/clk/mediatek/clk-mt7981.c
index 9930a7d..d848f59 100644
--- a/target/linux/mediatek/files-5.4/drivers/clk/mediatek/clk-mt7981.c
+++ b/target/linux/mediatek/files-5.4/drivers/clk/mediatek/clk-mt7981.c
@@ -27,8 +27,6 @@
static DEFINE_SPINLOCK(mt7981_clk_lock);
-
-
static const struct mtk_fixed_factor infra_divs[] __initconst = {
FACTOR(CK_INFRA_CK_F26M, "infra_ck_f26m", "csw_f26m_sel", 1, 1),
FACTOR(CK_INFRA_UART, "infra_uart", "uart_sel", 1, 1),
@@ -421,13 +419,13 @@
};
static const char * const infra_spi0_parents[] __initconst = {
- "infra_i2c"
- "infra_ispi0",
+ "infra_i2c",
+ "infra_ispi0"
};
static const char * const infra_spi1_parents[] __initconst = {
- "infra_i2c"
- "infra_ispi1",
+ "infra_i2c",
+ "infra_ispi1"
};
static const char * const infra_pwm1_parents[] __initconst = {
@@ -442,10 +440,10 @@
};
static const char * const infra_pcie_parents[] __initconst = {
- "infra_pcie",
- "cb_cksq_40m",
+ "infra_ck_f32k",
"infra_ck_f26m",
- "infra_ck_f32k"
+ "cb_cksq_40m",
+ "infra_pcie"
};
static const struct mtk_mux infra_muxes[] = {