]> 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 06:48:36 +0000 (08:48 +0200)
commit98cac8b04db91cbf2c24cbc62732d53c86f1ff20
tree3848a8e085d5947fb62e3ec686ea7c51cf2b8717
parent1e09b4e0d5d6e57cb2943f0ce4e611ee7819899e
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