forked from OP-TEE/optee_os
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: hi16xx_rng: replace mutex with spinlock
hw_get_random_byte() may be called from a context where mutexes are not allowed. Use a spinlock instead. Fixes: OP-TEE#2437 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
- Loading branch information
1 parent
af8149d
commit ecb20af
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters