usb: ohci-platform: disable ohci for rk3288

rk3288 ohci doesn't actually work on hardware, so we
need to disable it in ohci-platform driver.

Change-Id: I72750edda67358ff1e8fe66047bf60420500997e
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
William Wu
2017-08-01 14:59:42 +08:00
committed by Huang, Tao
parent ccc750901f
commit 32f0d2c081

View File

@@ -119,7 +119,7 @@ static int ohci_platform_probe(struct platform_device *dev)
struct ohci_hcd *ohci;
int err, irq, phy_num, clk = 0;
if (usb_disabled())
if (usb_disabled() || of_machine_is_compatible("rockchip,rk3288"))
return -ENODEV;
/*