commit | b9957fc944586da3d4a175c811afec563636c713 | [log] [tgz] |
---|---|---|
author | Martin Kaiser <martin@kaiser.cx> | Thu Mar 05 21:58:23 2020 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Mar 12 23:00:15 2020 +1100 |
tree | 79c7aebd2f9384c174429eda69b25165f640b21f | |
parent | f7d79450d192d194a88c37b55c048d3840a5d74b [diff] |
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>