OSDN Git Service

msm: sde: Correct rotator irq enable mismatch
authorAlan Kwong <akwong@codeaurora.org>
Wed, 6 Jul 2016 16:11:44 +0000 (12:11 -0400)
committerKyle Yan <kyan@codeaurora.org>
Tue, 12 Jul 2016 01:56:32 +0000 (18:56 -0700)
commit610d5d59af64b37dbbae443cef65c8f6219eab8f
treeb905efcc09396269627d0cf86ab1bdabf66c1ced
parent9f7a8de9ee315043fb3cc3aefff8cc307e441f40
msm: sde: Correct rotator irq enable mismatch

This corrects rotator irq enable mismatch by moving enable/disable
sequence to resource allocation/deallocation time.  This will
eliminate race condition between regdma start and wait for done,
which causes unacknowledged rotator interrupt to continuosly trigger
MDSS main interrupt handler, ending in watchdog reset.

CRs-Fixed: 1035411
Change-Id: I597b58b478a35e9c3e3afb1a2ddd20ad87961c1a
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
drivers/media/platform/msm/sde/rotator/sde_rotator_r3.c
drivers/media/platform/msm/sde/rotator/sde_rotator_r3_internal.h