usb: dwc3: Get clocks individually
authorSean Anderson <sean.anderson@seco.com>
Thu, 27 Jan 2022 20:06:31 +0000 (15:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 10:42:22 +0000 (11:42 +0100)
commit33fb697ec7e58c4f9b6a68d2786441189cd2df92
treeafca97bafb1ea1645f4f87930282973c8fe61f19
parent97ecbfb30dca36843d7a456def55e4d19007c3d2
usb: dwc3: Get clocks individually

Instead of grabbing all clocks in bulk, grab them individually. This will
allow us to get the frequency or otherwise deal with discrete clocks. This
may break some platforms if they use a clock which doesn't use one of the
documented names.

Reviewed-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20220127200636.1456175-3-sean.anderson@seco.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h