(tx2)the camera delay N+2 frame

Try this patch for the shake problem.

diff --git a/drivers/media/platform/tegra/camera/vi/vi4_fops.c b/drivers/media/platform/tegra/camera/vi/vi4_fops.c
index 9bcae78..e481552 100644
--- a/drivers/media/platform/tegra/camera/vi/vi4_fops.c
+++ b/drivers/media/platform/tegra/camera/vi/vi4_fops.c
@@ -206,7 +206,7 @@ static bool vi_notify_wait(struct tegra_channel *chan,
         */
        for (i = 0; i < chan->valid_ports; i++) {
                err = nvhost_syncpt_wait_timeout_ext(chan->vi->ndev,
-                               chan->syncpt[i][SOF_SYNCPT_IDX], thresh[i],
+                               chan->syncpt[i][FE_SYNCPT_IDX], thresh[i],
                                chan->timeout, NULL, NULL);
                if (unlikely(err)) {
                        dev_err(chan->vi->dev,

1 Like