Searched hist:"60630924 bb5af8751adcecc896e7763c3783ca89" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwspinlock/ |
H A D | stm32_hwspinlock.c | diff 60630924bb5af8751adcecc896e7763c3783ca89 Mon Oct 11 15:58:36 CEST 2021 Fabien Dessenne <fabien.dessenne@foss.st.com> hwspinlock: stm32: enable clock at probe
Set the clock during probe and keep its control during suspend / resume operations. This fixes an issue when CONFIG_PM is not set and where the clock is never enabled.
Make use of devm_ functions to simplify the code.
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211011135836.1045437-1-fabien.dessenne@foss.st.com
|