summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2022-09-19 15:20:33 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2022-09-23 11:19:47 +0300
commit3c6656337852e9f1a4079d172f3fddfbf00868f9 (patch)
tree7711e7272f9c8d6b74a6bb4431fea8e40efebd2e /io_uring
parente9233917a7e53980664efbc565888163c0a33c3f (diff)
downloadlinux-3c6656337852e9f1a4079d172f3fddfbf00868f9.tar.xz
Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
This reverts commit a3b884cef873 ("firmware: arm_scmi: Add clock management to the SCMI power domain"). Using the GENPD_FLAG_PM_CLK tells genpd to gate/ungate the consumer device's clock(s) during runtime suspend/resume through the PM clock API. More precisely, in genpd_runtime_resume() the clock(s) for the consumer device would become ungated prior to the driver-level ->runtime_resume() callbacks gets invoked. This behaviour isn't a good fit for all platforms/drivers. For example, a driver may need to make some preparations of its device in its ->runtime_resume() callback, like calling clk_set_rate() before the clock(s) should be ungated. In these cases, it's easier to let the clock(s) to be managed solely by the driver, rather than at the PM domain level. For these reasons, let's drop the use GENPD_FLAG_PM_CLK for the SCMI PM domain, as to enable it to be more easily adopted across ARM platforms. Fixes: a3b884cef873 ("firmware: arm_scmi: Add clock management to the SCMI power domain") Cc: Nicolas Pitre <npitre@baylibre.com> Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Peng Fan <peng.fan@nxp.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/20220919122033.86126-1-ulf.hansson@linaro.org
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions