]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: npcm - modify readl to readb
authorTomer Maimon <tmaimon77@gmail.com>
Wed, 23 Sep 2020 21:23:05 +0000 (00:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Oct 2020 08:02:13 +0000 (18:02 +1000)
commit94497e70bcb7e8e0d52a03472c9bdb51532a81ac
tree65941b2c6a04a0e11e1490793554bbb275fbb82a
parent5a243941aa73e9d86ba7faede1a26bb3359c15db
hwrng: npcm - modify readl to readb

Modify the read size to the correct HW random
registers size, 8bit.
The incorrect read size caused and faulty
HW random value.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/npcm-rng.c