Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf091b7a authored by Junjie Wu's avatar Junjie Wu
Browse files

clock-plutonium: Fix gcc_debug_mux registration location



gcc_debug_mux is part of debug clock controller, not global clock
controller. When GCC registers, the base pointer of gcc_debug_mux
might not be mapped yet. Remove it from msm_clocks_gcc_plutonium.
gcc_debug_mux is already correctly registered in debug controller.

Change-Id: If0d1c0ffc32e118677046f4664aa98fa31a33ef0
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 22b9645b
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -2602,7 +2602,6 @@ static struct clk_lookup msm_clocks_gcc_plutonium[] = {
	CLK_LIST(gcc_usb_hs_ahb_clk),
	CLK_LIST(gcc_usb_hs_ahb_clk),
	CLK_LIST(gcc_usb_hs_system_clk),
	CLK_LIST(gcc_usb_hs_system_clk),
	CLK_LIST(gcc_usb_phy_cfg_ahb2phy_clk),
	CLK_LIST(gcc_usb_phy_cfg_ahb2phy_clk),
	CLK_LIST(gcc_debug_mux),
};
};


static int msm_gcc_plutonium_probe(struct platform_device *pdev)
static int msm_gcc_plutonium_probe(struct platform_device *pdev)
+3 −1
Original line number Original line Diff line number Diff line
@@ -248,7 +248,6 @@
#define clk_gcc_usb_hs_ahb_clk 0x72ce8032
#define clk_gcc_usb_hs_ahb_clk 0x72ce8032
#define clk_gcc_usb_hs_system_clk 0xa11972e5
#define clk_gcc_usb_hs_system_clk 0xa11972e5
#define clk_gcc_usb_phy_cfg_ahb2phy_clk 0xd1231a0e
#define clk_gcc_usb_phy_cfg_ahb2phy_clk 0xd1231a0e
#define clk_gcc_debug_mux 0x8121ac15


/* clock_mmss controlled clocks */
/* clock_mmss controlled clocks */
#define clk_mmsscc_xo 0x05e63704
#define clk_mmsscc_xo 0x05e63704
@@ -371,4 +370,7 @@
#define clk_venus0_core2_vcodec_clk 0x24fa20a3
#define clk_venus0_core2_vcodec_clk 0x24fa20a3
#define clk_mmss_debug_mux 0xe646ffda
#define clk_mmss_debug_mux 0xe646ffda


/* clock_debug controlled clocks */
#define clk_gcc_debug_mux 0x8121ac15

#endif
#endif