crypto: tegra-aes: improve encrypt/decrypt performance
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 12 Jan 2011 20:59:14 +0000 (02:29 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 12 Jan 2011 20:59:14 +0000 (02:29 +0530)
commit67c21536bf03d1b8f14360f1eb89bf117099be76
tree59929f4ab9c462549db9b134fa9d49ef9c803265
parentb7cb0ccbfe228933b20fb8dd775b44f8b1cf40a7
crypto: tegra-aes: improve encrypt/decrypt performance

- enable/disable clocks only once per request
- create a thread for handling the driver's work queue
- always set vde clocks to the max before processing a request

Change-Id: I935e5523e9e913c93705cc694f8a475d212c15ce
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/crypto/tegra-aes.c