Commit [eeec62]  Maximize  Restore  History

Revert "hwrng: virtio - ensure reads happen after successful probe"

This reverts commit e052dbf554610e2104c5a7518c4d8374bed701bb.

Now that we use the virtio ->scan() function to register with the hwrng
core, we will not get read requests till probe is successfully finished.

So revert the workaround we had in place to refuse read requests while
we were not yet setup completely.

Signed-off-by: Amit Shah <>
Signed-off-by: Rusty Russell <>

Amit Shah Amit Shah 2014-07-26

Rusty Russell Rusty Russell 2014-07-27

changed drivers/char/hw_random/core.c
changed drivers/char/hw_random/virtio-rng.c
drivers/char/hw_random/core.c Diff Switch to side-by-side view
drivers/char/hw_random/virtio-rng.c Diff Switch to side-by-side view