]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7dea79524eef61d80a4fc83e4a40afaab43c73a4
treeafca97bafb1ea1645f4f87930282973c8fe61f19
parentc4f4c30eebb3ff9b44b32aa9bb01b7fb8a0c4faf
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