diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2017-05-24 05:39:31 -0400 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2017-05-29 08:34:06 -0400 |
commit | be58e496698dbd757bc4abe4173168cb2e6cb299 (patch) | |
tree | 4773dc42e8fda61fda5e42e3d2038153735dfa5e /drivers/clk/meson | |
parent | 96b61c8d2eae247661ac5a7dfba21e1a858400d1 (diff) |
clk: meson: meson8b: mark clk81 as critical
Disabling clk81 results in an immediate freeze of the whole system. This
can happen "accidentally" when the last child-clock of clk81 is disabled
(in this case the common clock framework also disables clk81, even if it
was only enabled indirectly before).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/clk/meson')
-rw-r--r-- | drivers/clk/meson/meson8b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c index e9985503165c..9d1aaf6e9ac6 100644 --- a/drivers/clk/meson/meson8b.c +++ b/drivers/clk/meson/meson8b.c | |||
@@ -399,7 +399,7 @@ struct clk_gate meson8b_clk81 = { | |||
399 | .ops = &clk_gate_ops, | 399 | .ops = &clk_gate_ops, |
400 | .parent_names = (const char *[]){ "mpeg_clk_div" }, | 400 | .parent_names = (const char *[]){ "mpeg_clk_div" }, |
401 | .num_parents = 1, | 401 | .num_parents = 1, |
402 | .flags = (CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED), | 402 | .flags = (CLK_SET_RATE_PARENT | CLK_IS_CRITICAL), |
403 | }, | 403 | }, |
404 | }; | 404 | }; |
405 | 405 | ||