summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock/Makefile
diff options
context:
space:
mode:
authorFabien Dessenne <fabien.dessenne@foss.st.com>2021-10-11 16:58:36 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-11-18 01:12:44 +0300
commit60630924bb5af8751adcecc896e7763c3783ca89 (patch)
tree0332002e40f10f6d2e78d7b92a0af307c328bb1b /drivers/hwspinlock/Makefile
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-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