clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
In the previous commits that added CLK_OPS_PARENT_ENABLE, support for this flag was only added to rate change operations (rate setting and reparent) and disabling unused subtree. It was not added to the clock gate related operations. Any hardware driver that needs it for these operations will either see bogus results, or worse, hang. This has been seen on MT8192 and MT8195, where the imp_ii2_* clk drivers set this, but dumping debugfs clk_summary would cause it to hang. Fixes: fc8726a2 ("clk: core: support clocks which requires parents enable (part 2)") Fixes: a4b3518d ("clk: core: support clocks which requires parents enable (part 1)") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Link: https://lore.kernel.org/r/20220822081424.1310926-2-wenst@chromium.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
parent
26f2da0d
-
mentioned in commit abb5f3f4
-
mentioned in commit c0f0ed9e
-
mentioned in commit 4ff599df
-
mentioned in commit 519cd9c4
-
mentioned in commit c13b0be5
-
mentioned in commit c25e0ca0
-
mentioned in commit 27c26c2a
-
mentioned in commit b8de7959
-
mentioned in commit 99b25ceb
-
mentioned in commit 582e87c6
-
mentioned in commit 577b32ab
Please register or sign in to comment