]> Git Repo - u-boot.git/commit
usb: dwc3: Cache ref_clk pointer in struct dwc3
authorMarek Vasut <[email protected]>
Sun, 27 Nov 2022 14:31:52 +0000 (15:31 +0100)
committerMarek Vasut <[email protected]>
Sun, 27 Nov 2022 14:34:56 +0000 (15:34 +0100)
commit8ae84e64530e81f23066d86417b9225388ba96ae
treef4ba0c0f57d8499d4fd54440ad37ca1290e827e1
parent55a95f8f58cf5c884edfe8714bf681cd17ef7242
usb: dwc3: Cache ref_clk pointer in struct dwc3

Cache ref_clk clock pointer in struct dwc3 . This is a preparatory
patch for subsequent backports from Linux kernel which configure
GFLADJ register content based on the ref_clk rate and therefore need
access to the ref_clk pointer.

It is possible to extract the clock pointer from existing clk_bulk
list of already claimed clock, no need to call clk_get*() again.

Reviewed-by: Sean Anderson <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/dwc3-generic.c
This page took 0.039175 seconds and 4 git commands to generate.