]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77f673b4b250026559ccb00de2102cb1f82c9f8c
tree49397961c6f3da6cc597906d007cd0d675abbff6
parentab68f9f2a0100c60d23a8c864bbdbd785410560a
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