diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2016-06-30 12:31:11 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-07-02 03:40:18 +0300 |
commit | a6adc30ba7bef8da62a32c884609eb9cace04fbc (patch) | |
tree | ed2a8634d1a4754247a9667989f1ee13e7feb7a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 582e2405b2998ddf05e3429ee366161d7015e090 (diff) | |
download | linux-a6adc30ba7bef8da62a32c884609eb9cace04fbc.tar.xz |
clk: introduce clk_core_enable_lock and clk_core_disable_lock functions
This can be useful when clock core wants to enable/disable clocks.
Then we don't have to convert the struct clk_core to struct clk to call
clk_enable/clk_disable which is a bit un-align with exist using.
And after introduce clk_core_{enable|disable}_lock, we can refine
clk_enable and clk_disable a bit.
As well as clk_core_{enable|disable}_lock, we also added
clk_core_{prepare|unprepare}_lock and clk_core_prepare_enable/
clk_core_unprepare_disable for clock core to easily use.
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions