mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 16:46:23 +00:00
Tegra: smmu: fix the size used to save context
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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user