drm/msm/mdp: Clear pending interrupt status before enable interrupt
authorjilai wang <jilaiw@codeaurora.org>
Wed, 5 Aug 2015 19:33:29 +0000 (15:33 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:27 +0000 (18:27 -0400)
commit29f034d776209042f7aaaf1518a66841c1d42233
treecb86d2a7efe98b87c4695b4b9322f8b414f9fdb5
parent8089082fae1975ad9d5abbd37c0ee8f688be28a0
drm/msm/mdp: Clear pending interrupt status before enable interrupt

Pending interrupt status needs to be cleared before enable the
interrupt. Otherwise it's possible to get a pending interrupt instead
of an incoming interrupt.

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_irq.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h
drivers/gpu/drm/msm/mdp/mdp5/mdp5_irq.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h
drivers/gpu/drm/msm/mdp/mdp_kms.c
drivers/gpu/drm/msm/mdp/mdp_kms.h