Thread (2 messages) flat view 2 messages, 2 authors, 2012-10-26

[PATCH v2 5/7] crypto: omap-sham: Convert to use pm_runtime API

From: mgreer@animalcreek.com (Mark A. Greer)
Date: 2012-10-26 17:10:12
Also in: linux-crypto, linux-omap

On Thu, Oct 25, 2012 at 05:34:02PM -0700, Kevin Hilman wrote:
Hi Mark,
Hi Kevin.
"Mark A. Greer" [off-list ref] writes:
quoted
From: "Mark A. Greer" <mgreer@animalcreek.com>

Convert the omap-sham crypto driver to use the
pm_runtime API instead of the clk API.

CC: Kevin Hilman <redacted>
CC: Paul Walmsley <paul@pwsan.com>
CC: Dmitry Kasatkin <redacted>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
I can't pretend to fully understand this driver, It looks like the
current code is doing a bit more fine-grained clock gating, and leaving
the IP clocked only when needed.

The proposed version does a 'get' in probe and a 'put' in remove, which
means the IP will always be enabled (and thus preventing low-power
states), even when it's not in use.
You're right, and what I did is wrong.  I'll fix this in the next revision.

Thanks,

Mark
--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help