]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: picoxcell - Update to the current clk API
authorMichael van der Westhuizen <michael@smart-africa.com>
Fri, 19 Jun 2015 13:55:51 +0000 (15:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 21 Jun 2015 11:59:22 +0000 (19:59 +0800)
commit6bdc3988942c50ebed36e099d6fd8413411ba0f0
treef05d61943c9772419972327287b620873024b885
parent6123163bfb49a0866e24f85756509a102bd269b6
crypto: picoxcell - Update to the current clk API

The picoXcell hardware crypto accelerator driver was using an
older version of the clk framework, and not (un)preparing the
clock before enabling/disabling it.  This change uses the handy
clk_prepare_enable function to interact with the current clk
framework correctly.

Signed-off-by: Michael van der Westhuizen <michael@smart-africa.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c