diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2023-01-20 12:20:39 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-01-31 03:45:19 +0300 |
commit | a87d143c47eb0dff5b7f2a97b58e92aa59707a94 (patch) | |
tree | a5b45030193ab32809cdb5dc79813aedaf04f81c /drivers/clk/mediatek/clk-mt8173-img.c | |
parent | 41138fbf876ca6154aa3aa68e07e1b37d246b8d0 (diff) | |
download | linux-a87d143c47eb0dff5b7f2a97b58e92aa59707a94.tar.xz |
clk: mediatek: mt8173: Remove mtk_clk_enable_critical()
The entire point of mtk_clk_enable_critical() is to raise the refcount
of some clocks so that they won't be turned off during runtime, but
this is the same as what the CLK_IS_CRITICAL flag does.
Set CLK_IS_CRITICAL on all of the critical clocks and remove the
aforementioned function as a cleanup.
No functional changes.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230120092053.182923-10-angelogioacchino.delregno@collabora.com
Tested-by: Mingming Su <mingming.su@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8173-img.c')
0 files changed, 0 insertions, 0 deletions