projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccc7509
)
usb: ohci-platform: disable ohci for rk3288
author
William Wu
<william.wu@rock-chips.com>
Tue, 1 Aug 2017 06:59:42 +0000
(14:59 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Wed, 2 Aug 2017 02:20:46 +0000
(10:20 +0800)
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>
drivers/usb/host/ohci-platform.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-platform.c
b/drivers/usb/host/ohci-platform.c
index d7a410628748fb6b0fe35554300f125fb454860e..c47e7ab2af4768283e3366db333060af8c616c76 100644
(file)
--- 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;
/*