From 1c53a03572478d89a37b2b9bc4bac17c593821c9 Mon Sep 17 00:00:00 2001 From: Justin Waters Date: Tue, 26 Feb 2008 11:55:17 -0500 Subject: MXC: Fix USB Clock error on the MX31 LiteKit 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 --- arch/arm/plat-mxc/usb_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3