The isequence counter is never used, qsequence counts the buffers queued into
the bit decoder bitstream ringbuffer. It needs to be reset in stop_streaming.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
 
                coda_bit_stream_end_flag(ctx);
 
-               ctx->isequence = 0;
+               ctx->qsequence = 0;
 
                while ((buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx)))
                        v4l2_m2m_buf_done(buf, VB2_BUF_STATE_ERROR);
 
        int                             initialized;
        int                             streamon_out;
        int                             streamon_cap;
-       u32                             isequence;
        u32                             qsequence;
        u32                             osequence;
        u32                             sequence_offset;