drm/armada: fix irq handling
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 26 Jun 2018 16:06:06 +0000 (17:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:09:14 +0000 (13:09 +0200)
commitafd13311ee014d52b2d1ca9c452a157b836d987f
tree7a5679430809b1f5ea7d2834b45970dbaf292d0d
parent3d211fefdd52a717e91b5f50fa578c810a2c2596
drm/armada: fix irq handling

[ Upstream commit 92298c1cd8e8a6b56322b602ad72b54e6237631d ]

Add the missing locks to the IRQ enable/disable paths, and fix a comment
in the interrupt handler: reading the ISR clears down the status bits,
but does not reset the interrupt so it can signal again.  That seems to
require a write.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/armada/armada_crtc.c