Skip to content
Commit 8ae84e64 authored by Marek Vasut's avatar Marek Vasut
Browse files

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: default avatarSean Anderson <seanga2@gmail.com>
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
parent 55a95f8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment