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 <firstname.lastname@example.org>
Reviewed-by: Tom Warren <email@example.com>
Reviewed-by: Andrew Bresticker <firstname.lastname@example.org>
Commit-Queue: Joseph Lo <email@example.com>
Tested-by: Joseph Lo <firstname.lastname@example.org>
1 file changed