diff options
author | Lee Jones <lee.jones@linaro.org> | 2015-09-17 16:45:53 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-09-21 17:00:41 +0300 |
commit | d9a53b01404fa602117220e98bb6c9b2b63f1e7f (patch) | |
tree | 786e8e3202a05a8865d18396f874eef3167ffe7f /drivers/char/hw_random/n2-asm.S | |
parent | cb2c316b22d89072643d2685ef0eb883cae8a9de (diff) | |
download | linux-d9a53b01404fa602117220e98bb6c9b2b63f1e7f.tar.xz |
hwrng: core - Simplify RNG switching from sysfs
If we attempt to use sysfs to change the current RNG in the usual
way i.e. issuing something like:
`echo 8a8a000.rng > /sys/devices/virtual/misc/hw_random/rng_current`
... it will fail because the code doesn't currently take the '\n'
into consideration. Well, now it does.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/n2-asm.S')
0 files changed, 0 insertions, 0 deletions