kernel_optimize_test/drivers/clk
Boris Brezillon f96423f483 clk: at91: fix clk_programmable_set_parent()
Since commit 1bdf02326b ("clk: at91: make use of syscon/regmap
internally"), clk_programmable_set_parent() is always selecting the
first parent (AKA slow_clk), no matter what's passed in the 'index'
parameter.

Fix that by initializing the pckr variable to the index value.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Fixes: 1bdf02326b ("clk: at91: make use of syscon/regmap internally")
Cc: <stable@vger.kernel.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1468828152-18389-1-git-send-email-boris.brezillon@free-electrons.com
2016-07-18 17:45:41 -07:00
..
at91 clk: at91: fix clk_programmable_set_parent() 2016-07-18 17:45:41 -07:00
axis
axs10x
bcm
berlin
h8300
hisilicon
imx
ingenic
keystone
mediatek
meson
microchip clk: microchip: Remove CLK_IS_ROOT 2016-06-01 14:52:54 -07:00
mmp
mvebu
mxs
nxp
pistachio
pxa
qcom
renesas
rockchip clk: rockchip: release io resource when failing to init clk on rk3399 2016-06-03 15:36:49 +02:00
samsung
sirf
socfpga
spear
st
sunxi clk: sunxi: remove unused variable 2016-06-16 09:18:29 +02:00
tegra
ti
ux500
versatile
x86
zte
zynq
clk-asm9260.c
clk-axi-clkgen.c
clk-axm5516.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c
clk-composite.c
clk-conf.c
clk-cs2000-cp.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.c
clk-highbank.c
clk-ls1x.c
clk-max-gen.c
clk-max-gen.h
clk-max77686.c
clk-max77802.c
clk-mb86s7x.c
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-nspire.c
clk-oxnas.c clk: Fix return value check in oxnas_stdclk_probe() 2016-06-20 17:00:29 -07:00
clk-palmas.c
clk-pwm.c
clk-qoriq.c
clk-rk808.c
clk-s2mps11.c
clk-scpi.c
clk-si514.c
clk-si570.c
clk-si5351.c
clk-si5351.h
clk-stm32f4.c
clk-tango4.c
clk-twl6040.c
clk-u300.c
clk-vt8500.c
clk-wm831x.c
clk-xgene.c
clk.c
clk.h
clkdev.c
Kconfig clk: nxp: Select MFD_SYSCON for creg driver 2016-06-01 15:14:06 -07:00
Makefile