diff options
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | 2021-10-11 16:58:36 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-11-18 01:12:44 +0300 |
commit | 60630924bb5af8751adcecc896e7763c3783ca89 (patch) | |
tree | 0332002e40f10f6d2e78d7b92a0af307c328bb1b /drivers/hwspinlock/Makefile | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) | |
download | linux-60630924bb5af8751adcecc896e7763c3783ca89.tar.xz |
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
Diffstat (limited to 'drivers/hwspinlock/Makefile')
0 files changed, 0 insertions, 0 deletions