diff options
author | lionel.debieve@st.com <lionel.debieve@st.com> | 2018-04-23 17:04:26 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-05 14:52:49 +0800 |
commit | 9bae54942b13ea9862e9137b403308a3fd4cec3b (patch) | |
tree | 93c822cffd4b885c7d77c3827a1afa4b1d43d118 /drivers/mux/gpio.c | |
parent | af513781f21ca9acbc22d20418a9dff0180e327c (diff) | |
download | linux-9bae54942b13ea9862e9137b403308a3fd4cec3b.tar.gz linux-9bae54942b13ea9862e9137b403308a3fd4cec3b.tar.bz2 linux-9bae54942b13ea9862e9137b403308a3fd4cec3b.zip |
hwrng: stm32 - fix pm_suspend issue
When suspend is called after pm_runtime_suspend,
same callback is used and access to rng register is
freezing system. By calling the pm_runtime_force_suspend,
it first checks that runtime has been already done.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/mux/gpio.c')
0 files changed, 0 insertions, 0 deletions