crytpo: tegra-aes: make aes_handle_req aynschronous
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 28 Dec 2010 09:31:18 +0000 (15:01 +0530)
committerColin Cross <ccross@android.com>
Fri, 7 Jan 2011 23:51:18 +0000 (15:51 -0800)
commit5a5f348ffc433c0483b5c13ebefe73adb5e68f2b
tree433c4c9f9558e1ad9c1153d45d5e6a15cb8c1349
parent3fd40dad57b28da176fd62dabfcd3d63578879ed
crytpo: tegra-aes: make aes_handle_req aynschronous

the encrypt/decrypt callbacks have to return with -EINPROGRESS
error code and the request complete callback needs to be
called from handle_req for aynchronous block ciphers. use
work queue to make the driver asynchronous.

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