diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-22 11:01:56 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-22 11:01:56 -0600 |
commit | 9552923ded4484c3dd5bc9e51f7a473cb48914ba (patch) | |
tree | 9ef76b2fb89dd75b4169c39834ec7335cc3a5970 /drivers/rng/stm32_rng.c | |
parent | 9fa8ba1ee1b6ea5361fded5422b19a9b3c1c2ad4 (diff) | |
parent | 81f3a665ab2a63a31ec7a4d760b0ce8130f62a1d (diff) |
Merge patch series "Kconfig: some cleanups"
Michal Simek <michal.simek@amd.com> says:
I looked as cleaning up some dependencies and I found that qconfig is
reporting some issues. This series is fixing some of them. But there are
still some other pending. That's why please go and fix them if they are
related to your board.
UTF-8: I am using uni2ascii -B < file to do conversion. When you run it in
a loop you will find some other issue with copyright chars or some issues
in files taken from the Linux kernel like DTs. They should be likely fixed
in the kernel first.
Based on discussion I am ignoring names too.
Diffstat (limited to 'drivers/rng/stm32_rng.c')
-rw-r--r-- | drivers/rng/stm32_rng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rng/stm32_rng.c b/drivers/rng/stm32_rng.c index 61d5ed61582..44e8a460752 100644 --- a/drivers/rng/stm32_rng.c +++ b/drivers/rng/stm32_rng.c @@ -74,7 +74,7 @@ struct stm32_rng_plat { * Extracts from the STM32 RNG specification when RNG supports CONDRST. * * When a noise source (or seed) error occurs, the RNG stops generating - * random numbers and sets to “1” both SEIS and SECS bits to indicate + * random numbers and sets to "1" both SEIS and SECS bits to indicate * that a seed error occurred. (...) * * 1. Software reset by writing CONDRST at 1 and at 0 (see bitfield @@ -127,12 +127,12 @@ static int stm32_rng_conceal_seed_error_cond_reset(struct stm32_rng_plat *pdata) * Extracts from the STM32 RNG specification, when CONDRST is not supported * * When a noise source (or seed) error occurs, the RNG stops generating - * random numbers and sets to “1” both SEIS and SECS bits to indicate + * random numbers and sets to "1" both SEIS and SECS bits to indicate * that a seed error occurred. (...) * * The following sequence shall be used to fully recover from a seed * error after the RNG initialization: - * 1. Clear the SEIS bit by writing it to “0”. + * 1. Clear the SEIS bit by writing it to "0". * 2. Read out 12 words from the RNG_DR register, and discard each of * them in order to clean the pipeline. * 3. Confirm that SEIS is still cleared. Random number generation is |