crypto: ccree - better clock handling
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 24 May 2018 14:19:07 +0000 (15:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 May 2018 16:13:49 +0000 (00:13 +0800)
commit35f859fc936cade5bd60cf8ece27d48503084011
tree8474de14d2a691b98598dcffb8bdc8f02944f17b
parent281a58c8326ca62ca6341f9d2cc2eb08044670e8
crypto: ccree - better clock handling

Use managed clock handling, differentiate between no clock (possibly OK)
and clock init failure (never OK) and correctly handle clock detection
being deferred.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_driver.c