diff options
Diffstat (limited to 'drivers/char/hw_random/st-rng.c')
-rw-r--r-- | drivers/char/hw_random/st-rng.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/hw_random/st-rng.c b/drivers/char/hw_random/st-rng.c index 17f0a092bf24..1d35363d23c5 100644 --- a/drivers/char/hw_random/st-rng.c +++ b/drivers/char/hw_random/st-rng.c | |||
@@ -29,8 +29,9 @@ | |||
29 | #define ST_RNG_STATUS_BAD_ALTERNANCE BIT(1) | 29 | #define ST_RNG_STATUS_BAD_ALTERNANCE BIT(1) |
30 | #define ST_RNG_STATUS_FIFO_FULL BIT(5) | 30 | #define ST_RNG_STATUS_FIFO_FULL BIT(5) |
31 | 31 | ||
32 | #define ST_RNG_FIFO_SIZE 8 | ||
33 | #define ST_RNG_SAMPLE_SIZE 2 /* 2 Byte (16bit) samples */ | 32 | #define ST_RNG_SAMPLE_SIZE 2 /* 2 Byte (16bit) samples */ |
33 | #define ST_RNG_FIFO_DEPTH 4 | ||
34 | #define ST_RNG_FIFO_SIZE (ST_RNG_FIFO_DEPTH * ST_RNG_SAMPLE_SIZE) | ||
34 | 35 | ||
35 | /* | 36 | /* |
36 | * Samples are documented to be available every 0.667us, so in theory | 37 | * Samples are documented to be available every 0.667us, so in theory |