From 98465bfad1cca19e4accb4e0f96fce544ca81f09 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 Signed-off-by: Frank Wang --- 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 65a1c3fdc88c..c70ec9daf9de 100644 --- a/drivers/usb/host/ohci-platform.c +++ b/drivers/usb/host/ohci-platform.c @@ -96,7 +96,7 @@ static int ohci_platform_probe(struct platform_device *dev) struct ohci_hcd *ohci; int err, irq, clk = 0; - if (usb_disabled()) + if (usb_disabled() || of_machine_is_compatible("rockchip,rk3288")) return -ENODEV; /*