From 32f0d2c081df4b3e22e8753e52cd91c388d79cd9 Mon Sep 17 00:00:00 2001 From: William Wu Date: Tue, 1 Aug 2017 14:59:42 +0800 Subject: [PATCH] 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 --- drivers/usb/host/ohci-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index d7a410628748..c47e7ab2af47 100644 --- a/drivers/usb/host/ohci-platform.c +++ b/drivers/usb/host/ohci-platform.c @@ -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; /* -- 2.34.1