Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Icenowy Zheng and committed by
Greg Kroah-Hartman
73577d61 d6b76c4d

+1 -1
+1 -1
drivers/usb/host/ehci-platform.c
··· 38 38 #include "ehci.h" 39 39 40 40 #define DRIVER_DESC "EHCI generic platform driver" 41 - #define EHCI_MAX_CLKS 3 41 + #define EHCI_MAX_CLKS 4 42 42 #define EHCI_MAX_RSTS 3 43 43 #define hcd_to_ehci_priv(h) ((struct ehci_platform_priv *)hcd_to_ehci(h)->priv) 44 44