summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2016-08-12 11:06:22 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-15 16:25:59 +0200
commit73577d61799e8d8bb7d69a9acdc54923e5998138 (patch)
treed0bb353a59396af694f62ee94180eee7731218f7 /drivers/usb/host
parentd6b76c4ddb124dd22c6e910ca9332e472e7b3273 (diff)
downloadop-kernel-dev-73577d61799e8d8bb7d69a9acdc54923e5998138.zip
op-kernel-dev-73577d61799e8d8bb7d69a9acdc54923e5998138.tar.gz
ehci-platform: add the max clock number to 4
Allwinner A64 EHCI requires 4 clocks to be enabled. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index 6816b8c..876dca4 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -38,7 +38,7 @@
#include "ehci.h"
#define DRIVER_DESC "EHCI generic platform driver"
-#define EHCI_MAX_CLKS 3
+#define EHCI_MAX_CLKS 4
#define EHCI_MAX_RSTS 3
#define hcd_to_ehci_priv(h) ((struct ehci_platform_priv *)hcd_to_ehci(h)->priv)
OpenPOWER on IntegriCloud