Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62df61cd authored by Mike Tipton's avatar Mike Tipton
Browse files

clk: qcom: Add sync-state callback for clk-aop-qmp



Add sync-state callback for the clk-aop-qmp driver to ensure its clocks
don't turn off before all consumers probe. This also addresses
performance issues during boot since a large number of amba devices
toggle the QDSS clock in their probe function. Keeping the clock enabled
until all consumers probe means we don't make multiple expensive
round-trips to AOP.

Change-Id: Ic8ae6e563c4083c5cb7bfa9d5e18e17d58a3bb24
Signed-off-by: default avatarMike Tipton <mdtipton@codeaurora.org>
parent 7bac0bc0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -375,6 +375,7 @@ static struct platform_driver aop_qmp_clk_driver = {
	.driver = {
		.name = "qmp-aop-clk",
		.of_match_table = aop_qmp_clk_of_match,
		.sync_state = clk_sync_state,
	},
	.probe = aop_qmp_clk_probe,
};