]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
i.MX25: fix EHCI support
authorEric Bénard <eric@eukrea.com>
Tue, 8 Jun 2010 09:02:58 +0000 (11:02 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 26 Jul 2010 12:18:10 +0000 (14:18 +0200)
i.MX25's EHCI is the same as i.MX35's one.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/usb/host/ehci-mxc.c

index 544ccfd7056ed5ff13d7a3daea6178d22e9efbd6..56f275097e0ef5cd941ea14ea87a11821aab738b 100644 (file)
@@ -182,7 +182,7 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
        }
        clk_enable(priv->usbclk);
 
-       if (!cpu_is_mx35()) {
+       if (!cpu_is_mx35() && !cpu_is_mx25()) {
                priv->ahbclk = clk_get(dev, "usb_ahb");
                if (IS_ERR(priv->ahbclk)) {
                        ret = PTR_ERR(priv->ahbclk);