clk: samsung: exynos7885: Correct "div4" clock parents
authorDavid Virag <virag.david003@gmail.com>
Thu, 13 Oct 2022 15:13:40 +0000 (17:13 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 18 Oct 2022 13:15:44 +0000 (09:15 -0400)
commitef80c95c29dc67c3034f32d93c41e2ede398e387
tree0ee5f706290faa973b5918820495851b0aaa5b7a
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
clk: samsung: exynos7885: Correct "div4" clock parents

"div4" DIVs which divide PLLs by 4 are actually dividing "div2" DIVs by
2 to achieve a by 4 division, thus their parents are the respective
"div2" DIVs. These DIVs were mistakenly set to have the PLLs as parents.
This leads to the kernel thinking "div4"s and everything under them run
at 2x the clock speed. Fix this.

Fixes: 45bd8166a1d8 ("clk: samsung: Add initial Exynos7885 clock driver")
Signed-off-by: David Virag <virag.david003@gmail.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/r/20221013151341.151208-1-virag.david003@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/clk/samsung/clk-exynos7885.c