crypto: img-hash - Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 16 May 2017 08:27:41 +0000 (13:57 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 23 May 2017 04:52:03 +0000 (12:52 +0800)
commit5f052c9c631d360d6ec6202714b9d6529a21117a
treec03d96231c92739172a4853253f162d4964b7c9e
parent986130bf3701e9875a820e06ed5c6ae0a851900b
crypto: img-hash - 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/crypto/img-hash.c