Commit 9934a1bd authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Stephen Boyd
Browse files

clk: provide devm_clk_get_optional_enabled_with_rate()



There are clock users in the kernel that can't use
devm_clk_get_optional_enabled() as they need to set rate after getting
the clock and before enabling it. Provide a managed helper that wraps
these operations in the correct order.

Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20240805-clk-new-helper-v2-1-e5fdd1e1d729@linaro.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 706ae644
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment