]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xilinx: encoder: Initialize the drm encoder before the encoder slave
authorHyun Kwon <hyun.kwon@xilinx.com>
Tue, 6 May 2014 02:52:36 +0000 (19:52 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 May 2014 16:01:22 +0000 (18:01 +0200)
commit372a7e974b860e439a5159fe37683d94e1c739d9
tree2d28407bdab83d1c75a8c5095b0e7412748bf600
parentd9c474c71c93539cbaa6144a318c42ce9e1af244
drm: xilinx: encoder: Initialize the drm encoder before the encoder slave

drm_encoder_init() and drm_encoder_helper_add() need to be called before
initializing the encoder slave. The encoder slave can generate interrupts
right after initalization, which may result in error from not initialized
drm device.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xilinx/xilinx_drm_encoder.c