summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/marvell
diff options
context:
space:
mode:
authorJim Quigley <Jim.Quigley@oracle.com>2017-11-03 09:57:21 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-06 14:45:06 +0800
commite5cc6e79bbe0b06d3ec56f5210bd4fc90bcf4d2b (patch)
tree528eeaa99d29a896c4757a935d052c32cc1e353b /drivers/crypto/marvell
parent747f6ec6e8f59bb946a5b0a4d4b8d1f45109b6ab (diff)
downloadlinux-e5cc6e79bbe0b06d3ec56f5210bd4fc90bcf4d2b.tar.gz
linux-e5cc6e79bbe0b06d3ec56f5210bd4fc90bcf4d2b.tar.bz2
linux-e5cc6e79bbe0b06d3ec56f5210bd4fc90bcf4d2b.zip
hwrng: virtio - Virtio RNG devices need to be re-registered after suspend/resume
The patch for commit: 5c06273401f2eb7b290cadbae18ee00f8f65e893 Author: Amit Shah <amit.shah@redhat.com> Date: Sun Jul 27 07:34:01 2014 +0930 virtio: rng: delay hwrng_register() till driver is ready moved the call to hwrng_register() out of the probe routine into the scan routine. We need to call hwrng_register() after a suspend/restore cycle to re-register the device, but the scan function is not invoked for the restore. Add the call to hwrng_register() to virtio_restore(). Reviewed-by: Liam Merwick <Liam.Merwick@oracle.com> Signed-off-by: Jim Quigley <Jim.Quigley@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell')
0 files changed, 0 insertions, 0 deletions