usb: gadget: tegra: update memory frequency requests to 150 MHz
authorJames Wylder <james.wylder@motorola.com>
Fri, 11 Mar 2011 22:39:43 +0000 (16:39 -0600)
committerBenoit Goby <benoit@android.com>
Tue, 3 May 2011 23:17:17 +0000 (16:17 -0700)
With the previous change in memory frequency (200 MHz
to 150 MHz) requests of 200 MHz will round up to full
speed.  This negatively impacts current drain.

Change-Id: Iefdb3a50aff338b44daa8311218400e4b4586152
Signed-off-by: James Wylder <james.wylder@motorola.com>
drivers/usb/gadget/fsl_tegra_udc.c

index 14e62f40a50a50d0923c2e46220af98bdb0642cc..24867cd6090908dc0d1e8132e5aff2bbbb438984 100644 (file)
@@ -42,7 +42,7 @@ int fsl_udc_clk_init(struct platform_device *pdev)
        }
 
        clk_enable(emc_clk);
-       clk_set_rate(emc_clk, 400000000);
+       clk_set_rate(emc_clk, 300000000);
 
        /* we have to remap the registers ourselves as fsl_udc does not
         * export them for us.