kernel_optimize_test/drivers/clk
Alex Frid 2316a7a334 clk: Don't write error code into divider register
Add a check for error returned by divider value calculation to avoid
writing error code into hw register.

Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Fixes: bca9690b94 ("clk: divider: Make generic for usage elsewhere")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-08-31 18:43:38 -07:00
..
at91
axis
axs10x
bcm
berlin
h8300
hisilicon clk: hi6220: change watchdog clock source 2017-08-31 18:32:43 -07:00
imgtec
imx clk: imx51: propagate rate across ipu_di*_sel 2017-08-31 11:30:47 -07:00
ingenic
keystone clk: keystone: sci-clk: Fix sci_clk_get 2017-08-02 18:37:26 -07:00
loongson1
mediatek
meson Amlogic clock driver updates for 4.14 2017-08-23 15:28:52 -07:00
microchip
mmp
mvebu
mxs
nxp clk: nxp: clk-lpc32xx: rename clk_gate_is_enabled() 2017-08-31 18:35:44 -07:00
pistachio
pxa
qcom clk: msm8996-gcc: add missing smmu clks 2017-08-23 16:07:18 -07:00
renesas clk: renesas: Updates for v4.14 2017-08-23 15:39:58 -07:00
rockchip clk: rockchip: Mark rockchip_fractional_approximation static 2017-08-23 15:35:41 -07:00
samsung clk/samsung updates for 4.14 2017-08-23 15:30:29 -07:00
sirf
socfpga
spear
st
sunxi clk: sunxi: fix uninitialized access 2017-08-30 22:39:49 -07:00
sunxi-ng Allwinner clock changes for 4.14, part 3 2017-08-31 10:57:34 -07:00
tegra clk: tegra: Fix Tegra210 PLLU initialization 2017-08-23 16:00:42 -07:00
ti clk: ti: make clk_ops const 2017-08-23 15:53:25 -07:00
uniphier clk: uniphier: add video input subsystem clock 2017-08-31 18:41:14 -07:00
ux500 clk: ux500: prcc: constify clk_ops. 2017-08-30 22:27:49 -07:00
versatile clk: versatile: make clk_ops const 2017-08-30 22:38:59 -07:00
x86
zte clk: zte: constify clk_div_table 2017-08-30 22:30:30 -07:00
zynq
clk-asm9260.c
clk-axi-clkgen.c
clk-axm5516.c
clk-bulk.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c
clk-composite.c
clk-conf.c
clk-cs2000-cp.c clk: cs2000: Add cs2000_set_saved_rate 2017-08-31 11:32:32 -07:00
clk-devres.c
clk-divider.c clk: Don't write error code into divider register 2017-08-31 18:43:38 -07:00
clk-efm32gg.c
clk-fixed-factor.c
clk-fixed-rate.c
clk-fractional-divider.c clk: fractional-divider: allow overriding of approximation 2017-08-08 17:39:48 +02:00
clk-gate.c clk: gate: expose clk_gate_ops::is_enabled 2017-08-31 18:35:45 -07:00
clk-gemini.c clk: gemini: hands off PCI OE bit 2017-08-30 22:29:11 -07:00
clk-gpio.c
clk-hi655x.c
clk-highbank.c
clk-hsdk-pll.c ARC: clk: introduce HSDK pll driver 2017-08-30 22:36:05 -07:00
clk-max77686.c
clk-mb86s7x.c
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-nspire.c
clk-oxnas.c
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-stm32h7.c clk: stm32h7: Add stm32h743 clock driver 2017-08-31 18:35:47 -07:00
clk-tango4.c
clk-twl6040.c
clk-u300.c
clk-versaclock5.c
clk-vt8500.c
clk-wm831x.c
clk-xgene.c
clk.c
clk.h
clkdev.c
Kconfig clk: Kconfig: Name RK805 in Kconfig for COMMON_CLK_RK808 2017-08-31 16:20:12 -07:00
Makefile clk: stm32h7: Add stm32h743 clock driver 2017-08-31 18:35:47 -07:00