hwrng: omap3-rom - Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 15 May 2017 08:22:03 +0000 (13:52 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 23 May 2017 04:52:03 +0000 (12:52 +0800)
commit986130bf3701e9875a820e06ed5c6ae0a851900b
treef1e6bdf287fd3893152f7cb15d7c8fa4708e887d
parentcce2ea8d90fec72ed954830e73f5d4995cc79193
hwrng: omap3-rom - Handle return value of clk_prepare_enable

Here, Clock enable can failed. So adding an error check for
clk_prepare_enable.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap3-rom-rng.c