hwrng: stm32 - add reset during probe
authorlionel.debieve@st.com <lionel.debieve@st.com>
Thu, 15 Feb 2018 13:03:08 +0000 (14:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:36 +0000 (07:52 +0200)
commit39c655c5edfe629fdef92efaecd85a05b958f9a2
treea50e17e26f8bea15271fd2434db96f00d1230f37
parent259cdaff0e91cc610cde869948bf0b90eebac11f
hwrng: stm32 - add reset during probe

[ Upstream commit 326ed382256475aa4b8b7eae8a2f60689fd25e78 ]

Avoid issue when probing the RNG without
reset if bad status has been detected previously

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/hw_random/stm32-rng.c