[media] omap3isp: Fix frame number propagation
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / omap3isp / isp.c
index 06afbc14f6ae9792f459d68ece7c38f90ce6f7f0..df6416c706fd8f26275b76b8145c39854f1a75f8 100644 (file)
@@ -785,14 +785,6 @@ static int isp_pipeline_enable(struct isp_pipeline *pipe,
                }
        }
 
-       /* Frame number propagation. In continuous streaming mode the number
-        * is incremented in the frame start ISR. In mem-to-mem mode
-        * singleshot is used and frame start IRQs are not available.
-        * Thus we have to increment the number here.
-        */
-       if (pipe->do_propagation && mode == ISP_PIPELINE_STREAM_SINGLESHOT)
-               atomic_inc(&pipe->frame_number);
-
        return 0;
 }