projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c8ec6
)
Tegra: smmu: fix the size used to save context
author
Varun Wadekar
<vwadekar@nvidia.com>
Wed, 19 Apr 2017 18:49:27 +0000
(11:49 -0700)
committer
Varun Wadekar
<vwadekar@nvidia.com>
Wed, 19 Apr 2017 18:49:27 +0000
(11:49 -0700)
This patch fixes the size used to save the context, when the
device enters System Suspend.
Reported by: David Cunado
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/smmu/smmu.c
patch
|
blob
|
history
diff --git
a/plat/nvidia/tegra/common/drivers/smmu/smmu.c
b/plat/nvidia/tegra/common/drivers/smmu/smmu.c
index a57db8b1d1265787f108170a2c7f5da5164efa87..e8b0d0b401f5242124e163745d3b2d2a6b2498b4 100644
(file)
--- a/
plat/nvidia/tegra/common/drivers/smmu/smmu.c
+++ b/
plat/nvidia/tegra/common/drivers/smmu/smmu.c
@@
-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,