mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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: Mike Tipton <mdtipton@codeaurora.org>
This commit is contained in:
parent
7bac0bc013
commit
62df61cdac
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue