]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:07:04 +0000 (13:07 +0200)
commit66a0b739377ee0341b0c632f7d5312b596f9b54d
tree512d5bcee357951eae922a992d64ecc6744a2cd8
parent697eafd012180c48ce433c1eeeb00ab2bd7f7ee4
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