OSDN Git Service

clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 1 Aug 2018 14:00:51 +0000 (16:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2018 15:13:01 +0000 (16:13 +0100)
commita178c7abb3a774fbff7d19fd342175b71b592384
tree40bcd9e71f758fd2cb4f138ae7cb10fc6a5b9445
parentee9b38131b4b288d1db5ce2ac8617f703b3d93e1
clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary

[ Upstream commit 2303a9ca693e585a558497ad737728fec97e2b8a ]

CLK_GET_RATE_NOCACHE should only be necessary when the registers
controlling the rate of clock may change outside of CCF. On Amlogic,
it should only be the case for the hdmi pll which is directly controlled
by the display driver (WIP to fix this).

The other plls should not require this flag.

Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/meson/axg.c
drivers/clk/meson/gxbb.c
drivers/clk/meson/meson8b.c