summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-mt2701-hif.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2023-01-20 10:20:52 +0100
committerStephen Boyd <sboyd@kernel.org>2023-01-30 16:46:00 -0800
commita0c3ef2519b26368d6cdd178ad986a85d5c4bbf3 (patch)
tree8742cec30d66c40723eebabb502622287562e04f /drivers/clk/mediatek/clk-mt2701-hif.c
parent72feb6f1eadee482c8ae96bbb2576fc9dd52de89 (diff)
clk: mediatek: clk-mt7986-topckgen: Properly keep some clocks enabled
Instead of calling clk_prepare_enable() on a bunch of clocks at probe time, set the CLK_IS_CRITICAL flag to the same as these are required to be always on, and this is the right way of achieving that. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Miles Chen <miles.chen@mediatek.com> Link: https://lore.kernel.org/r/20230120092053.182923-23-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-mt2701-hif.c')
0 files changed, 0 insertions, 0 deletions