Skip to content

Commit

Permalink
i.MX25: fix USB gadget support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Bénard authored and Sascha Hauer committed Jul 26, 2010
1 parent 4ea0af0 commit 2518507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/fsl_mxc_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2518507

Please sign in to comment.