Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: Fix CLK_OPS_PARENT_ENABLE and runtime PM
@ 2022-07-12 11:34 Chen-Yu Tsai
  2022-07-12 11:34 ` [PATCH 1/2] clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops Chen-Yu Tsai
  2022-07-12 11:34 ` [PATCH 2/2] clk: core: Fix runtime PM sequence in clk_core_unprepare() Chen-Yu Tsai
  0 siblings, 2 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2022-07-12 11:34 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Chen-Yu Tsai, linux-clk, linux-kernel, linux-arm-kernel,
	AngeloGioacchino Del Regno, Nícolas F. R. A. Prado

Hi Mike, Stephen,

Here are a couple fixes for the clk core. They are unrelated but overlap
in diff context, so I'm sending them together.

Patch 1 makes the clk core honor CLK_OPS_PARENT_ENABLE for clk gate ops.
Without this, dumping clk_summary on the MT8192 would cause the system
to hang.

Patch 2 reorders the runtime PM call in clk_core_unprepare() to match
the order described in its original commit, and the opposite of that
in clk_core_prepare().


Regards
ChenYu

Chen-Yu Tsai (2):
  clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
  clk: core: Fix runtime PM sequence in clk_core_unprepare()

 drivers/clk/clk.c | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

-- 
2.37.0.144.g8ac04bfd2-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-12 18:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 11:34 [PATCH 0/2] clk: Fix CLK_OPS_PARENT_ENABLE and runtime PM Chen-Yu Tsai
2022-07-12 11:34 ` [PATCH 1/2] clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops Chen-Yu Tsai
2022-07-12 18:43   ` Nícolas F. R. A. Prado
2022-07-12 11:34 ` [PATCH 2/2] clk: core: Fix runtime PM sequence in clk_core_unprepare() Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox