video: fsl_dcu_fb: Fix DCU_MODE_BLEND_ITER setting
authorStefan Agner <stefan.agner@toradex.com>
Tue, 11 Apr 2017 05:42:12 +0000 (11:12 +0530)
committerAnatolij Gustschin <agust@denx.de>
Fri, 14 Apr 2017 11:56:24 +0000 (13:56 +0200)
commit7ce92a554a257d2f9ceee9ab855b878f01a5f88a
tree7922649dbe064540b0b92acc3bd5777c1ab1667a
parent32f26f56b3b918444ee2b3bf8f928bec506021b8
video: fsl_dcu_fb: Fix DCU_MODE_BLEND_ITER setting

DCU_LAYER_MAX_NUM is currently used for DCU_MODE_BLEND_ITER and it
actually overflows the maximum value of BLEND_ITER for Vybrid and
LS102XA. Fix this by using a default value of 2.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
drivers/video/fsl_dcu_fb.c