diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-04 09:38:14 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-04 15:51:34 +0200 |
commit | 6bb84518abf132bb8f11fc181ceeff3864fb3832 (patch) | |
tree | 295d5b9836528c5cf2ab35fc968ed96134775b80 /drivers | |
parent | 027063916b45e663c094efd3ce3bdf631fe14a6a (diff) | |
download | barebox-6bb84518abf132bb8f11fc181ceeff3864fb3832.tar.gz barebox-6bb84518abf132bb8f11fc181ceeff3864fb3832.tar.xz |
clk: imx28: propagate rate change to parents
The gate clocks need to be able to set their parent's clock rates so
that drivers actually can change their clock rates. The same is done
in Linux.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clk/mxs/clk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk.h b/drivers/clk/mxs/clk.h index 60f2408cba..a93361a9ea 100644 --- a/drivers/clk/mxs/clk.h +++ b/drivers/clk/mxs/clk.h @@ -35,7 +35,7 @@ static inline struct clk *mxs_clk_fixed(const char *name, int rate) static inline struct clk *mxs_clk_gate(const char *name, const char *parent_name, void __iomem *reg, u8 shift) { - return clk_gate_inverted(name, parent_name, reg, shift, 0); + return clk_gate_inverted(name, parent_name, reg, shift, CLK_SET_RATE_PARENT); } static inline struct clk *mxs_clk_mux(const char *name, void __iomem *reg, |