diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-07-21 14:41:38 -0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-01 10:53:59 +1000 |
commit | 9e01d0c6f63a59cc756c0028e17effdbadee7227 (patch) | |
tree | 04112025335600ae0c09f647803c55ef094db383 /init/main.c | |
parent | 69d2884debaa029ddcf9de4631c4c83249bc8c4d (diff) | |
download | talos-op-linux-9e01d0c6f63a59cc756c0028e17effdbadee7227.tar.gz talos-op-linux-9e01d0c6f63a59cc756c0028e17effdbadee7227.zip |
hwrng: mxc-rnga - Check the return value from clk_prepare_enable()
clk_prepare_enable() may fail, so let's check its return value and propagate it
in the case of error.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions