Merge pull request #1 from farovitus/patch-1
char: random: Fix Deep Sleep issue
This commit is contained in:
commit
f586c18ab6
|
@ -1897,7 +1897,7 @@ void add_hwgenerator_randomness(const char *buffer, size_t count,
|
|||
* random_write_wakeup_thresh, or when the calling
|
||||
* thread is about to terminate.
|
||||
*/
|
||||
wait_event_interruptible(random_write_wait,
|
||||
wait_event_freezable(random_write_wait,
|
||||
kthread_should_stop() ||
|
||||
ENTROPY_BITS(&input_pool) <= random_write_wakeup_bits);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user