MLK-19362: media: csi: Fix "Hresponse" and "Rx fifo overflow" camera errors
authorMirela Rabulea <mirela.rabulea@nxp.com>
Wed, 12 Sep 2018 08:50:54 +0000 (11:50 +0300)
committerRobby Cai <robby.cai@nxp.com>
Thu, 18 Apr 2019 10:21:34 +0000 (18:21 +0800)
commit1f75f765a5d3f6794adecb775dfdf0956bc5a33b
treee3dd5740e5bec44a448b1353e5e6f7d33d9f35dc
parent30e89c4d3bcacd47a145903381ec36fdf8304d53
MLK-19362: media: csi: Fix "Hresponse" and "Rx fifo overflow" camera errors

When the register setting for fifo_send_level is set to high, some residual
data of a frame which cannot fill up to the send_level, will be sent with
the next frame data. In this case, for CSI receive dma, sometimes,
the vertical blanking is too short to finish the storage of the previous
frame before the next frame start, depending on the system bandwidth.

Tested on imx8mq-evk rev B4 and B3, with OV5640 camera.

This patch was proposed by Tom Zheng <haidong.zheng@nxp.com>

Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
(cherry picked from commit 12f811f934b53008a445c3af67f1f22baea98a86)
drivers/media/platform/mxc/capture/mx6s_capture.c