Commit 4ea0af02 authored by Eric Bénard's avatar Eric Bénard Committed by Sascha Hauer

i.MX25: fix EHCI support

i.MX25's EHCI is the same as i.MX35's one.
Signed-off-by: default avatarEric Bénard <eric@eukrea.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent a6e92b49
...@@ -182,7 +182,7 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev) ...@@ -182,7 +182,7 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
} }
clk_enable(priv->usbclk); clk_enable(priv->usbclk);
if (!cpu_is_mx35()) { if (!cpu_is_mx35() && !cpu_is_mx25()) {
priv->ahbclk = clk_get(dev, "usb_ahb"); priv->ahbclk = clk_get(dev, "usb_ahb");
if (IS_ERR(priv->ahbclk)) { if (IS_ERR(priv->ahbclk)) {
ret = PTR_ERR(priv->ahbclk); ret = PTR_ERR(priv->ahbclk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment