diff options
author | 2021-10-11 15:58:36 +0200 | |
---|---|---|
committer | 2021-11-17 16:12:44 -0600 | |
commit | 60630924bb5af8751adcecc896e7763c3783ca89 (patch) | |
tree | 0332002e40f10f6d2e78d7b92a0af307c328bb1b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | Linux 5.16-rc1 (diff) | |
download | wireguard-linux-60630924bb5af8751adcecc896e7763c3783ca89.tar.xz wireguard-linux-60630924bb5af8751adcecc896e7763c3783ca89.zip |
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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions