i.MX25: fix USB gadget support
i.MX25's udc port 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>
This commit is contained in:
parent
4ea0af0275
commit
2518507f72
@ -30,7 +30,7 @@ int fsl_udc_clk_init(struct platform_device *pdev)
|
||||
|
||||
pdata = pdev->dev.platform_data;
|
||||
|
||||
if (!cpu_is_mx35()) {
|
||||
if (!cpu_is_mx35() && !cpu_is_mx25()) {
|
||||
mxc_ahb_clk = clk_get(&pdev->dev, "usb_ahb");
|
||||
if (IS_ERR(mxc_ahb_clk))
|
||||
return PTR_ERR(mxc_ahb_clk);
|
||||
|
Loading…
Reference in New Issue
Block a user