diff options
author | Fabien Dessenne <[email protected]> | 2021-10-11 15:58:36 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2021-11-17 16:12:44 -0600 |
commit | 60630924bb5af8751adcecc896e7763c3783ca89 (patch) | |
tree | 0332002e40f10f6d2e78d7b92a0af307c328bb1b /net/lapb/lapb_subr.c | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions