Merge pull request #904 from vwadekar/tegra-smmu-ctx-size-fix

Tegra: smmu: fix the size used to save context
This commit is contained in:
davidcunado-arm 2017-04-19 23:24:43 +01:00 committed by GitHub
commit 85aa186ba1
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ void tegra_smmu_save_context(uint64_t smmu_ctx_addr)
/* Save SMMU config settings */
memcpy16((void *)(uintptr_t)smmu_ctx_addr, (void *)smmu_ctx_regs,
sizeof(smmu_ctx_regs));
sizeof(smmu_regs_t));
/* save the SMMU table address */
mmio_write_32(TEGRA_SCRATCH_BASE + SECURE_SCRATCH_RSV11_LO,