mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 11:13:02 +09:00
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:
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user