diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2011-01-07 18:32:00 +0530 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-01-12 00:08:09 -0800 |
commit | 269ae7240fc77645c43fd1577191620467de9238 (patch) | |
tree | d12462983121674706f1146387cf50ce8832a13a /drivers/crypto | |
parent | a8ac34d55b93be3f92efa0b02a2bdb8c156149d1 (diff) |
crypto: tegra-aes: do not reset bsev/vde per operation
avp does not use the crypto engine inside the vde block,
so it is ok if we do not reset the entire block before
any crypto operation. this would save more than 100us per crypto
operation.
Change-Id: I4e6f4940c5b6e95498b6f7a62498fbf956e25254
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/tegra-aes.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/crypto/tegra-aes.c b/drivers/crypto/tegra-aes.c index d94046a4bb95..ef17074b587a 100644 --- a/drivers/crypto/tegra-aes.c +++ b/drivers/crypto/tegra-aes.c @@ -222,11 +222,6 @@ static int aes_hw_init(struct tegra_aes_dev *dd) return ret; } - tegra_periph_reset_assert(dd->iclk); - udelay(50); - tegra_periph_reset_deassert(dd->iclk); - udelay(50); - ret = clk_enable(dd->iclk); if (ret < 0) { dev_err(dd->dev, "%s: iclock enable fail(%d)\n", __func__, ret); |