linux/drivers/clk
Viresh Kumar 8a31d9d942 PM / OPP: Update OPP users to put reference
This patch updates dev_pm_opp_find_freq_*() routines to get a reference
to the OPPs returned by them.

Also updates the users of dev_pm_opp_find_freq_*() routines to call
dev_pm_opp_put() after they are done using the OPPs.

As it is guaranteed the that OPPs wouldn't get freed while being used,
the RCU read side locking present with the users isn't required anymore.
Drop it as well.

This patch also updates all users of devfreq_recommended_opp() which was
returning an OPP received from the OPP core.

Note that some of the OPP core routines have gained
rcu_read_{lock|unlock}() calls, as those still use RCU specific APIs
within them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> [Devfreq]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-01-30 09:22:21 +01:00
..
at91 clk: at91: Fix a return value in case of error 2016-10-20 16:37:56 -07:00
axis
axs10x
bcm clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate() 2016-12-12 11:25:40 -08:00
berlin clk: berlin: Pass correct type to hw provider registration 2016-11-16 11:04:17 -08:00
h8300
hisilicon clk: Hi6220: enable stub clock driver for ARCH_HISI 2016-11-14 18:40:47 -08:00
imx ARM: SoC non-urgent fixes for v4.10 2016-12-15 15:15:13 -08:00
ingenic
keystone clk: keystone: pll: Unmap region obtained by of_iomap 2016-12-08 16:34:15 -08:00
loongson1
mediatek reset: mediatek: Add MT2701 reset driver 2016-11-08 15:59:51 -08:00
meson
microchip
mmp clk:mmp:clk-of-mmp2: Free memory and Unmap region obtained by kzalloc and of_iomap 2016-12-08 16:29:39 -08:00
mvebu clk: mvebu: make ap806-system-controller explicitly non-modular 2016-11-04 13:32:58 -07:00
mxs
nxp clk: nxp: clk-lpc18xx-ccu: Unmap region obtained by of_iomap 2016-11-01 17:32:25 -07:00
pistachio
pxa ARM: SoC platform updates for v4.10 2016-12-15 15:39:02 -08:00
qcom clk: qcom: Put venus core0/1 gdscs to hw control mode 2016-11-23 16:41:19 -08:00
renesas clk: renesas: mstp: Support 8-bit registers for r7s72100 2016-12-21 16:33:14 -08:00
rockchip Merge tag 'v4.10-rockchip-clk2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-next 2016-12-06 15:17:26 -08:00
samsung clk/samsung: exynos542x: mark some clocks as critical 2017-01-09 16:11:05 -08:00
sirf
socfpga
spear
st clk: st: clk-flexgen: Unmap region obtained by of_iomap 2016-12-08 16:35:22 -08:00
sunxi Allwinner clock changes for 4.10 2016-11-16 11:19:20 -08:00
sunxi-ng Two small fixes for MIPI PLLs on sunxi devices and a build fix 2016-11-23 14:31:45 -08:00
tegra PM / OPP: Update OPP users to put reference 2017-01-30 09:22:21 +01:00
ti clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message 2016-12-08 15:09:12 -08:00
uniphier clk: uniphier: add cpufreq data for LD11, LD20 SoCs 2016-12-07 16:17:03 -08:00
ux500
versatile
x86
zte
zynq
Kconfig clk: Enable compile testing for s2mps11 and max77686 2016-11-01 17:33:13 -07:00
Makefile
clk-asm9260.c
clk-axi-clkgen.c
clk-axm5516.c
clk-cdce706.c
clk-cdce925.c clk: cdce925: Fix limit check 2016-12-08 16:29:36 -08:00
clk-clps711x.c
clk-composite.c
clk-conf.c
clk-cs2000-cp.c
clk-devres.c clk: add devm_get_clk_from_child() API 2016-12-08 16:37:33 -08:00
clk-divider.c
clk-efm32gg.c clk: efm32gg: Pass correct type to hw provider registration 2016-11-16 11:08:55 -08:00
clk-fixed-factor.c
clk-fixed-rate.c
clk-fractional-divider.c
clk-gate.c clk: gate: fix coding style 2016-11-09 12:05:50 -08:00
clk-gpio.c
clk-highbank.c
clk-max77686.c clk: max77686: fix number of clocks setup for clk_hw based registration 2016-10-17 15:31:59 -07:00
clk-mb86s7x.c
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-nspire.c
clk-oxnas.c clk: oxnas: Add OX820 Gate clocks 2016-10-23 10:18:45 -07:00
clk-palmas.c
clk-pwm.c
clk-qoriq.c clk: qoriq: added ls1012a clock configuration 2016-12-08 16:29:30 -08:00
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: stm32f4: Use CLK_OF_DECLARE_DRIVER initialization method 2016-12-21 16:33:14 -08:00
clk-tango4.c
clk-twl6040.c
clk-u300.c
clk-vt8500.c
clk-wm831x.c clk: clk-wm831x: fix a logic error 2016-12-07 16:24:45 -08:00
clk-xgene.c clk: xgene: Don't call __pa on ioremaped address 2016-10-28 11:03:47 -07:00
clk.c
clk.h
clkdev.c ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration 2016-11-22 11:45:28 +00:00