summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/setup-usb-phy.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2014-11-02 21:36:45 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-11-23 14:56:21 +0800
commita41820d690379a4eb4b72a3ddd553aac7ed4eb6a (patch)
tree4559ce08f9fb5eb89e6519e958655421ead8540a /arch/arm/mach-s3c64xx/setup-usb-phy.c
parent4e3fea4a950e3ec22ec8f99a7438aa5ba584263a (diff)
ARM: imx: clk-vf610: get input clocks from assigned clocks
With the clock assignment device tree changes, the clocks get initialized properly but the search for those clocks fails with errors: [ 0.000000] i.MX clk 4: register failed with -17 [ 0.000000] i.MX clk 5: register failed with -17 This is because the module can't find those clocks anymore, and tries to initialize fixed clocks with the same name. Get the clock modules input clocks from the assigned clocks by default by using of_clk_get_by_name(). If this function returns not a valid clock, fall back to the old behaviour and search the input clock from the device tree's /clocks/$name node. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/setup-usb-phy.c')
0 files changed, 0 insertions, 0 deletions