clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 15 Mar 2023 17:30:48 +0000 (18:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:32 +0000 (23:03 +0900)
commit8fbcfff08380ee8b0dcc02bcce0a911e1ed180f2
tree91b27c8553973a7242bca000cd02e0e41f4601d5
parentbddbb3b9dc140dba9fb4d5cef3bab129c9ce0fb3
clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src

[ Upstream commit 1bf088a9f0e50acd175ba8deef0db11c099fa26e ]

Add the PARENT_ENABLE flag to prevent  the clock from getting stuck
at boot and use floor_ops to avoid SDHCI overclocking.

Fixes: 496d1a13d405 ("clk: qcom: Add Global Clock Controller driver for QCM2290")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230315173048.3497655-1-konrad.dybcio@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-qcm2290.c