t210: lp0_resume: clear the MC_INTSTATUS if MC_INTMASK was 0
The MC/SMMU should be resumed by the kernel. And the unexpected value
in the MC_INTSTATUS should be cleared before that. Or it will cause
some noisy MC interrupt once we enable the IRQ in the kernel.
TEST=LP0 suspend/resume test and the EMEM decode/arbitration errors
should not be observed on resume.
Signed-off-by: Joseph Lo <email@example.com>
Reviewed-by: Tom Warren <firstname.lastname@example.org>
Reviewed-by: Andrew Bresticker <email@example.com>
Commit-Queue: Joseph Lo <firstname.lastname@example.org>
Tested-by: Joseph Lo <email@example.com>
1 file changed