diff options
Diffstat (limited to 'drivers/media/pci/cx88/cx88-mpeg.c')
-rw-r--r-- | drivers/media/pci/cx88/cx88-mpeg.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/pci/cx88/cx88-mpeg.c b/drivers/media/pci/cx88/cx88-mpeg.c index 74b7b8614c23..2803b6f17646 100644 --- a/drivers/media/pci/cx88/cx88-mpeg.c +++ b/drivers/media/pci/cx88/cx88-mpeg.c | |||
@@ -229,17 +229,13 @@ static int cx8802_restart_queue(struct cx8802_dev *dev, | |||
229 | dprintk(1,"[%p/%d] restart_queue - first active\n", | 229 | dprintk(1,"[%p/%d] restart_queue - first active\n", |
230 | buf,buf->vb.i); | 230 | buf,buf->vb.i); |
231 | 231 | ||
232 | } else if (prev->vb.width == buf->vb.width && | 232 | } else { |
233 | prev->vb.height == buf->vb.height && | ||
234 | prev->fmt == buf->fmt) { | ||
235 | list_move_tail(&buf->vb.queue, &q->active); | 233 | list_move_tail(&buf->vb.queue, &q->active); |
236 | buf->vb.state = VIDEOBUF_ACTIVE; | 234 | buf->vb.state = VIDEOBUF_ACTIVE; |
237 | buf->count = q->count++; | 235 | buf->count = q->count++; |
238 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 236 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
239 | dprintk(1,"[%p/%d] restart_queue - move to active\n", | 237 | dprintk(1,"[%p/%d] restart_queue - move to active\n", |
240 | buf,buf->vb.i); | 238 | buf,buf->vb.i); |
241 | } else { | ||
242 | return 0; | ||
243 | } | 239 | } |
244 | prev = buf; | 240 | prev = buf; |
245 | } | 241 | } |