0cd3be6e9a
When registering clk-si5351 by platform_data, we should not pass struct clk for the reference clocks. Drop struct clk from platform_data and rework the driver to use devm_clk_get of named clock references. While at it, check for at least one valid input clock and properly prepare/ enable valid reference clocks. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Reported-by: Michael Welling <mwelling@ieee.org> Reported-by: Jean-Francois Moine <moinejf@free.fr> Reported-by: Russell King <rmk+linux@arm.linux.org.uk> Tested-by: Michael Welling <mwelling@ieee.org> Tested-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Michael Turquette <mturquette@linaro.org> |
||
---|---|---|
.. | ||
at91 | ||
bcm | ||
berlin | ||
hisilicon | ||
keystone | ||
mmp | ||
mvebu | ||
mxs | ||
pistachio | ||
pxa | ||
qcom | ||
rockchip | ||
samsung | ||
shmobile | ||
sirf | ||
socfpga | ||
spear | ||
st | ||
sunxi | ||
tegra | ||
ti | ||
ux500 | ||
versatile | ||
x86 | ||
zynq | ||
clk-asm9260.c | ||
clk-axi-clkgen.c | ||
clk-axm5516.c | ||
clk-bcm2835.c | ||
clk-cdce706.c | ||
clk-clps711x.c | ||
clk-composite.c | ||
clk-conf.c | ||
clk-devres.c | ||
clk-divider.c | ||
clk-efm32gg.c | ||
clk-fixed-factor.c | ||
clk-fixed-rate.c | ||
clk-fractional-divider.c | ||
clk-gate.c | ||
clk-gpio-gate.c | ||
clk-highbank.c | ||
clk-ls1x.c | ||
clk-max77686.c | ||
clk-max77802.c | ||
clk-max-gen.c | ||
clk-max-gen.h | ||
clk-mb86s7x.c | ||
clk-moxart.c | ||
clk-mux.c | ||
clk-nomadik.c | ||
clk-nspire.c | ||
clk-palmas.c | ||
clk-pwm.c | ||
clk-qoriq.c | ||
clk-rk808.c | ||
clk-s2mps11.c | ||
clk-si570.c | ||
clk-si5351.c | ||
clk-si5351.h | ||
clk-twl6040.c | ||
clk-u300.c | ||
clk-vt8500.c | ||
clk-wm831x.c | ||
clk-xgene.c | ||
clk.c | ||
clk.h | ||
clkdev.c | ||
Kconfig | ||
Makefile |