Commit 6699176
clk: Respect CLK_OPS_PARENT_ENABLE during recalc
When CLK_OPS_PARENT_ENABLE was introduced, it guarded various clock
operations, such as setting the rate or switching parents. However,
another operation that can and often does touch actual hardware state is
recalc_rate, which may also be affected by such a dependency.
Add parent enables/disables where the recalc_rate op is called directly.
Fixes: fc8726a ("clk: core: support clocks which requires parents enable (part 2)")
Fixes: a4b3518 ("clk: core: support clocks which requires parents enable (part 1)")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>1 parent a2ed1ae commit 6699176
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1921 | 1921 | | |
1922 | 1922 | | |
1923 | 1923 | | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
1924 | 1927 | | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
1925 | 1932 | | |
1926 | 1933 | | |
1927 | 1934 | | |
| |||
4031 | 4038 | | |
4032 | 4039 | | |
4033 | 4040 | | |
| 4041 | + | |
| 4042 | + | |
| 4043 | + | |
4034 | 4044 | | |
4035 | 4045 | | |
4036 | 4046 | | |
| |||
4046 | 4056 | | |
4047 | 4057 | | |
4048 | 4058 | | |
| 4059 | + | |
| 4060 | + | |
| 4061 | + | |
4049 | 4062 | | |
4050 | 4063 | | |
4051 | 4064 | | |
| |||
0 commit comments