diff options
author | Anson Huang <b20788@freescale.com> | 2014-02-08 10:44:59 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 23:01:56 -0500 |
commit | 00ba800ad78e8663be3a185d149b813fbf6fa77d (patch) | |
tree | 644471f7380ca1a9bc31ad0f4b517a9b91ee528f | |
parent | 403f4fb1c4f529ff0733614a8129ebd9e0459dea (diff) |
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 <b20788@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/clock.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 = { |