diff options
author | Gabriel Fernandez <gabriel.fernandez@st.com> | 2018-04-06 08:39:32 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-04-06 22:43:20 +0200 |
commit | 1742aed6e539851ae7cfb12685182aa9044f3b0c (patch) | |
tree | 2f9e1695b4bdf08554ff91e6e5a6dd9192521520 /drivers/clk/clk-stm32mp1.c | |
parent | clk: stm32mp1: add missing tzc2 clock (diff) | |
download | linux-1742aed6e539851ae7cfb12685182aa9044f3b0c.tar.xz linux-1742aed6e539851ae7cfb12685182aa9044f3b0c.zip |
clk: stm32mp1: set stgen_k clock as critical
stgen_k should be declared as critical to avoid blocking console
when ck_hsi is not used.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-stm32mp1.c')
-rw-r--r-- | drivers/clk/clk-stm32mp1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c index e32fc23c6c2b..b7b53615b67c 100644 --- a/drivers/clk/clk-stm32mp1.c +++ b/drivers/clk/clk-stm32mp1.c @@ -1913,8 +1913,7 @@ static const struct clock_config stm32mp1_clock_cfg[] = { KCLK(RNG1_K, "rng1_k", rng_src, 0, G_RNG1, M_RNG1), KCLK(RNG2_K, "rng2_k", rng_src, 0, G_RNG2, M_RNG2), KCLK(USBPHY_K, "usbphy_k", usbphy_src, 0, G_USBPHY, M_USBPHY), - KCLK(STGEN_K, "stgen_k", stgen_src, CLK_IGNORE_UNUSED, - G_STGEN, M_STGEN), + KCLK(STGEN_K, "stgen_k", stgen_src, CLK_IS_CRITICAL, G_STGEN, M_STGEN), KCLK(SPDIF_K, "spdif_k", spdif_src, 0, G_SPDIF, M_SPDIF), KCLK(SPI1_K, "spi1_k", spi123_src, 0, G_SPI1, M_SPI1), KCLK(SPI2_K, "spi2_k", spi123_src, 0, G_SPI2, M_SPI23), |