linux/drivers/clk/ti
Tero Kristo a0d54c3899 clk: ti: omap3+: dpll: use non-locking version of clk_get_rate
As the code in this file is being executed within irq context in some
cases, we must avoid the clk_get_rate which uses mutex internally.
Switch the code to use clk_hw_get_rate instead which is non-locking.

This fixes an issue where PM runtime will hang the system if enabled
with a serial console before a suspend-resume cycle.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Fixes: a53ad8ef3d ("clk: ti: Convert to clk_hw based provider APIs")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-02-22 14:03:02 -08:00
..
Makefile ARM: SoC platform updates for v4.3 2015-09-01 12:18:40 -07:00
apll.c clk: ti: dra7: constify clk_hw_omap_ops structure 2015-11-20 16:22:21 -08:00
autoidle.c clk: ti: Convert to clk_hw based provider APIs 2015-08-24 16:48:58 -07:00
clk-2xxx.c Merge branch 'cleanup-clk-h-includes' into clk-next 2015-07-28 11:59:09 -07:00
clk-3xxx-legacy.c clk: ti: Include clk.h 2015-07-20 11:11:28 -07:00
clk-3xxx.c clk: ti: fix dual-registration of uart4_ick 2015-10-02 09:24:28 +03:00
clk-7xx.c clk: ti: clk-7xx: Remove hardwired ABE clock configuration 2015-10-02 09:24:28 +03:00
clk-33xx.c Merge branch 'cleanup-clk-h-includes' into clk-next 2015-07-28 11:59:09 -07:00
clk-43xx.c ARM: DT updates for v4.3 2015-09-01 13:09:20 -07:00
clk-44xx.c clk: ti: move some public definitions to private header 2015-06-02 12:31:45 +03:00
clk-54xx.c clk: ti: move some public definitions to private header 2015-06-02 12:31:45 +03:00
clk-814x.c clk: ti: Add few dm814x clock aliases 2015-12-03 12:02:31 -08:00
clk-816x.c clk: ti816x: Add missing dmtimer clkdev entries 2015-11-24 11:30:27 +02:00
clk-dra7-atl.c clk: ti: Include clk.h 2015-07-20 11:11:28 -07:00
clk.c clk: Convert __clk_get_flags() to clk_hw_get_flags() 2015-08-24 16:48:44 -07:00
clkt_dflt.c clk: ti: dflt: fix enable_reg validity check 2015-10-02 09:24:28 +03:00
clkt_dpll.c clk: ti: clkt_dpll: fix wrong do_div() usage 2015-11-24 11:30:27 +02:00
clkt_iclk.c clk: ti: omap2430: move clock support code under clock driver 2015-06-02 12:31:29 +03:00
clock.h clk: ti: Convert to clk_hw based provider APIs 2015-08-24 16:48:58 -07:00
clockdomain.c clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw) 2015-08-24 16:49:12 -07:00
composite.c clk: ti: make use of of_clk_parent_fill helper function 2015-07-28 11:59:07 -07:00
divider.c clk: ti: drop locking code from mux/divider drivers 2015-11-24 11:30:27 +02:00
dpll.c clk: Convert __clk_get_flags() to clk_hw_get_flags() 2015-08-24 16:48:44 -07:00
dpll3xxx.c clk: ti: omap3+: dpll: use non-locking version of clk_get_rate 2016-02-22 14:03:02 -08:00
dpll44xx.c clk: ti: Convert to clk_hw based provider APIs 2015-08-24 16:48:58 -07:00
fapll.c clk: ti: fapll: fix wrong do_div() usage 2015-11-24 11:30:27 +02:00
fixed-factor.c clk: ti: autoidle: move generic autoidle handling code to clock driver 2015-06-02 12:31:13 +03:00
gate.c clk: ti: Convert to clk_hw based provider APIs 2015-08-24 16:48:58 -07:00
interface.c clk: Convert __clk_get_flags() to clk_hw_get_flags() 2015-08-24 16:48:44 -07:00
mux.c clk: ti: drop locking code from mux/divider drivers 2015-11-24 11:30:27 +02:00