mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
The previous patch added one potential problem: we can still be reading from a hwrng when it's unregistered. Add a wait for zero in the hwrng_unregister path. Signed-off-by: Rusty Russell <[email protected]> Signed-off-by: Amos Kong <[email protected]> Signed-off-by: Herbert Xu <[email protected]>