OSDN Git Service

drm/fsl-dcu: mask all interrupts on initialization
authorStefan Agner <stefan@agner.ch>
Thu, 19 Nov 2015 01:27:04 +0000 (17:27 -0800)
committerStefan Agner <stefan@agner.ch>
Fri, 26 Feb 2016 00:13:16 +0000 (16:13 -0800)
commit638c93f61988c6fcc821646399f1fdd3895a34a2
tree49397961c6f3da6cc597906d007cd0d675abbff6
parent7566e247672d6ab67ce2a4c0fe03c17d695481b7
drm/fsl-dcu: mask all interrupts on initialization

The state of the interrupt mask register on initialization is
unknown, e.g. U-Boot could already used the DCU. So depending on
the boot loader, the outcome of the interrupt mask register could
be different. A defined state is much more preferable. Also, there
is no value in keeping interrupts enabled which we don't need.
Therefor, mask all interrupts on initialization.

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c