diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 09:48:20 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 14:02:16 +0200 |
commit | 2489007e7d740ccbc3e0a202914e243ad5178787 (patch) | |
tree | b8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/crypto/ace.c | |
parent | 5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff) | |
download | kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2 kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip |
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/crypto/ace.c')
-rw-r--r-- | drivers/crypto/ace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/crypto/ace.c b/drivers/crypto/ace.c index 0230cd812fe..21ddf9674da 100644 --- a/drivers/crypto/ace.c +++ b/drivers/crypto/ace.c @@ -70,7 +70,7 @@ enum s5p_cpu_type { TYPE_S5PV210, - TYPE_EXYNOS4, + TYPE_EXYNOS, }; enum { @@ -330,7 +330,7 @@ static int s5p_ace_aes_set_cipher(struct s5p_ace_aes_ctx *sctx, new_status |= ACE_AES_SWAPCNT_ON; new_status |= ACE_AES_SWAPIV_ON; - if (s5p_ace_dev.cputype == TYPE_EXYNOS4) { + if (s5p_ace_dev.cputype == TYPE_EXYNOS) { new_status |= ACE_AES_SWAPDO_ON; new_status |= ACE_AES_SWAPDI_ON; new_status |= ACE_AES_COUNTERSIZE_128; @@ -1537,7 +1537,7 @@ static int s5p_ace_sha_engine(struct s5p_ace_hash_ctx *sctx, s5p_ace_write_sfr(ACE_FC_HRDMAC, reg); /* Set byte swap of data in */ - if (s5p_ace_dev.cputype == TYPE_EXYNOS4) + if (s5p_ace_dev.cputype == TYPE_EXYNOS) s5p_ace_write_sfr(ACE_HASH_BYTESWAP, ACE_HASH_SWAPDI_ON | ACE_HASH_SWAPDO_ON | ACE_HASH_SWAPIV_ON); else @@ -2611,8 +2611,8 @@ static struct platform_device_id s5p_ace_driver_ids[] = { .name = "s5pv210-ace", .driver_data = TYPE_S5PV210, }, { - .name = "exynos4-ace", - .driver_data = TYPE_EXYNOS4, + .name = "exynos-ace", + .driver_data = TYPE_EXYNOS, }, {} }; |