mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue