Commit 35d079ce authored by Han Xu's avatar Han Xu Committed by Jialin Zhang
Browse files

clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks

stable inclusion
from stable-v5.10.147
commit cf41711aa4a7000fead6c9e8c088e4fd4fc02316
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0W8

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cf41711aa4a7000fead6c9e8c088e4fd4fc02316



--------------------------------

[ Upstream commit b1ff1bfe ]

There is no dedicate parent clock for QSPI so SET_RATE_PARENT flag
should not be used. For instance, the default parent clock for QSPI is
pll2_bus, which is also the parent clock for quite a few modules, such
as MMDC, once GPMI NAND set clock rate for EDO5 mode can cause system
hang due to pll2_bus rate changed.

Fixes: f1541e15 ("clk: imx6sx: Switch to clk_hw based API")
Signed-off-by: default avatarHan Xu <han.xu@nxp.com>
Link: https://lore.kernel.org/r/20220915150959.3646702-1-han.xu@nxp.com


Tested-by: default avatarFabio Estevam <festevam@denx.de>
Reviewed-by: default avatarAbel Vesa <abel.vesa@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 8e309303
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment