Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35c9cee9 authored by Mohamed Sunfeer's avatar Mohamed Sunfeer Committed by Gerrit - the friendly Code Review server
Browse files

msm_rng: Qrng driver retry count is increased



Retry behavior count is increased to read data
from qrng driver by changing RETRY_MAX_CNT to 20.

Change-Id: I8cfe69d13c85c681f69899eb9b2438abd34b3a86
Signed-off-by: default avatarMohamed Sunfeer <msunfeer@codeaurora.org>
parent 32df5cfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@
#define MAX_HW_FIFO_DEPTH 16                     /* FIFO is 16 words deep */
#define MAX_HW_FIFO_SIZE (MAX_HW_FIFO_DEPTH * 4) /* FIFO is 32 bits wide  */

#define RETRY_MAX_CNT		5	/* max retry times to read register */
#define RETRY_MAX_CNT		20	/* max retry times to read register */
#define RETRY_DELAY_INTERVAL	440	/* retry delay interval in us */

struct msm_rng_device {