From 00ba800ad78e8663be3a185d149b813fbf6fa77d Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Sat, 8 Feb 2014 10:44:59 +0800 Subject: ENGR00298280 ARM: imx6: correct get_rate for usbphy clks usbphy clock should not set their get_rate callback to parent's get_rate callback, as it will cause recursion and lead to wrong result, actually, they do NOT need to define get_rate callback, as their rate is same as parent's. Signed-off-by: Anson Huang Signed-off-by: Peter Chen --- arch/arm/mach-mx6/clock.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index 864dfc0c6e2d..aa45eb8a2b28 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -789,7 +789,6 @@ static struct clk usb_phy1_clk = { __INIT_CLK_DEBUG(usb_phy1_clk) .parent = &pll3_usb_otg_main_clk, .set_rate = _clk_pll3_usb_otg_set_rate, - .get_rate = _clk_pll3_usb_otg_get_rate, }; /* For HSIC port 1 */ @@ -797,7 +796,6 @@ static struct clk usb_phy3_clk = { __INIT_CLK_DEBUG(usb_phy3_clk) .parent = &pll3_usb_otg_main_clk, .set_rate = _clk_pll3_usb_otg_set_rate, - .get_rate = _clk_pll3_usb_otg_get_rate, }; /* For HSIC port 2 */ @@ -805,7 +803,6 @@ static struct clk usb_phy4_clk = { __INIT_CLK_DEBUG(usb_phy4_clk) .parent = &pll3_usb_otg_main_clk, .set_rate = _clk_pll3_usb_otg_set_rate, - .get_rate = _clk_pll3_usb_otg_get_rate, }; static struct clk pll3_pfd_508M = { -- cgit v1.2.3