diff options
author | Justin Waters <justin.waters@timesys.com> | 2008-02-26 11:55:17 -0500 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2008-02-26 11:55:17 -0500 |
commit | 1c53a03572478d89a37b2b9bc4bac17c593821c9 (patch) | |
tree | d970b8847613916d98a837e1420266523d6d28cf | |
parent | 996ae20fc28f8e2ceb77ad52cafa26b2513f28f2 (diff) |
MXC: Fix USB Clock error on the MX31 LiteKit2.6.22-mx31lite-200802261655
The following patch fixes errors caused by incorrect clocking. It may be
a bit of a hack, but it gets the job done and allows USB to work.
Signed-off-by: Justin Waters <justin.waters@timesys.com>
-rw-r--r-- | arch/arm/plat-mxc/usb_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/usb_common.c b/arch/arm/plat-mxc/usb_common.c index 73781aa705fa..c8f9895ea14c 100644 --- a/arch/arm/plat-mxc/usb_common.c +++ b/arch/arm/plat-mxc/usb_common.c @@ -65,11 +65,12 @@ static int fsl_check_usbclk(void) usb_clk = clk_get(NULL, "usb_clk"); freq = clk_get_rate(usb_clk); clk_put(usb_clk); +/* if ((freq < 59999000) || (freq > 60001000)) { printk(KERN_ERR "USB_CLK=%lu, should be 60MHz\n", freq); return -1; } - +*/ return 0; } |