diff options
author | Dong Aisheng <[email protected]> | 2017-12-22 17:46:04 +0800 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2017-12-26 17:34:03 -0800 |
commit | 756efe131088b6e6e7f0124ff9c4e1f0165d3140 (patch) | |
tree | 9b6f57ac546ee543d41c14a1b13bd65d795ee4c4 /net/unix/sysctl_net_unix.c | |
parent | 61d2f2a05765a5f57149efbd93e3e81a83cbc2c1 (diff) |
clk: use atomic runtime pm api in clk_core_is_enabled
Current clk_pm_runtime_put is using pm_runtime_put_sync which
is not safe to be called in clk_core_is_enabled as it should
be able to run in atomic context.
Thus use pm_runtime_put instead which is atomic safe.
Cc: Stephen Boyd <[email protected]>
Cc: Michael Turquette <[email protected]>
Cc: Ulf Hansson <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Fixes: 9a34b45397e5 ("clk: Add support for runtime PM")
Signed-off-by: Dong Aisheng <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions