diff options
author | venkatajagadish <vjagadish@nvidia.com> | 2012-11-21 16:31:47 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 00:48:29 -0700 |
commit | cb1c7478c0c18ebfee35583c76b8b63769c8a23d (patch) | |
tree | e2f6d5d5729bc7fc8850ceb92d3cc0b89aa645f5 /drivers/crypto | |
parent | 939589b01976a2699bb460b758a4fc6bc6f494e2 (diff) |
crypto: tegra-se: Remove T114 Sw War to Limit max bytes
Remove the T114 S.E SW War to limit the Max bytes to process .
Bug 961707
Change-Id: I16bcc36d0a1f1449b015bc3084634a34aaf30f4e
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165613
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/tegra-se.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/tegra-se.c b/drivers/crypto/tegra-se.c index 7621279bd717..8d9a003a19a3 100644 --- a/drivers/crypto/tegra-se.c +++ b/drivers/crypto/tegra-se.c @@ -615,7 +615,8 @@ static int tegra_se_start_operation(struct tegra_se_dev *se_dev, u32 nbytes, int ret = 0; u32 val = 0; - if (nblocks > SE_MAX_LAST_BLOCK_SIZE) + if ((tegra_get_chipid() == TEGRA_CHIPID_TEGRA11) && + nblocks > SE_MAX_LAST_BLOCK_SIZE) return -EINVAL; /* clear any pending interrupts */ |