aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-mailbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx18/cx18-mailbox.c')
-rw-r--r--drivers/media/video/cx18/cx18-mailbox.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/media/video/cx18/cx18-mailbox.c b/drivers/media/video/cx18/cx18-mailbox.c
index b013e817926a..9d8220539be8 100644
--- a/drivers/media/video/cx18/cx18-mailbox.c
+++ b/drivers/media/video/cx18/cx18-mailbox.c
@@ -189,16 +189,7 @@ static void epu_dma_done(struct cx18 *cx, struct cx18_epu_work_order *order)
189 dvb_dmx_swfilter(&s->dvb.demux, buf->buf, 189 dvb_dmx_swfilter(&s->dvb.demux, buf->buf,
190 buf->bytesused); 190 buf->bytesused);
191 191
192 cx18_buf_sync_for_device(s, buf); 192 cx18_stream_put_buf_fw(s, buf);
193 cx18_enqueue(s, buf, &s->q_free);
194
195 if (s->handle != CX18_INVALID_TASK_HANDLE &&
196 test_bit(CX18_F_S_STREAMING, &s->s_flags))
197 cx18_vapi(cx,
198 CX18_CPU_DE_SET_MDL, 5, s->handle,
199 (void __iomem *)
200 &cx->scb->cpu_mdl[buf->id] - cx->enc_mem,
201 1, buf->id, s->buf_size);
202 } else 193 } else
203 set_bit(CX18_F_B_NEED_BUF_SWAP, &buf->b_flags); 194 set_bit(CX18_F_B_NEED_BUF_SWAP, &buf->b_flags);
204 } 195 }