diff options
author | Martin Kaiser <martin@kaiser.cx> | 2020-03-05 21:58:23 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-12 23:00:15 +1100 |
commit | b9957fc944586da3d4a175c811afec563636c713 (patch) | |
tree | 79c7aebd2f9384c174429eda69b25165f640b21f /kernel/user.c | |
parent | f7d79450d192d194a88c37b55c048d3840a5d74b (diff) | |
download | linux-b9957fc944586da3d4a175c811afec563636c713.tar.gz linux-b9957fc944586da3d4a175c811afec563636c713.tar.bz2 linux-b9957fc944586da3d4a175c811afec563636c713.zip |
hwrng: imx-rngc - check the rng type
Read the rng type and hardware revision during probe. Fail the probe
operation if the type is not one of rngc or rngb.
(There's also an rnga type, which needs a different driver.)
Display the type and revision in a debug print if probe was successful.
Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions