Commit 4e115f31 authored by Abel Vesa's avatar Abel Vesa Committed by Greg Kroah-Hartman
Browse files

remoteproc: qcom: q6v5: Use _clk_get_optional for aggre2_clk



[ Upstream commit 6d967a5a ]

Only msm8996 and msm8998 SLPIs need the RPM_SMD_AGGR2_NOC_CLK
(as aggre2 clock). None of the other platforms do. Back when the support
for the mentioned platforms was added to the q6v5 pass driver, the
devm_clk_get_optional was not available, so the has_aggre2_clk was
necessary in order to differentiate between plaforms that need this
clock and those which do not. Now that devm_clk_get_optional is available,
we can drop the has_aggre2_clk. This makes the adsp_data more cleaner
and removes the check within adsp_init_clocks.

Signed-off-by: default avatarAbel Vesa <abel.vesa@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220718121514.2451590-1-abel.vesa@linaro.org


Stable-dep-of: e8983156 ("remoteproc: qcom: pas: add minidump_id to SM8350 resources")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 57ef7705
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment