diff options
author | Brandon Philips <brandon@ifup.org> | 2007-11-06 18:02:36 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:11 -0500 |
commit | 0fc0686e64d21a6abded96af2b1a895dfa8b2530 (patch) | |
tree | 6c7a696c13bccb98e9b4a95e995b7992605ed419 /drivers/media/video/cx88 | |
parent | 1414becf15da1701b0c45e9c82b1f120cb676a36 (diff) |
V4L/DVB (6600): V4L: videobuf: don't chew up namespace STATE_.*, convert to VIDEOBUF_
s/STATE_NEEDS_INIT/VIDEOBUF_NEEDS_INIT/g
s/STATE_PREPARED/VIDEOBUF_PREPARED/g
s/STATE_QUEUED/VIDEOBUF_QUEUED/g
s/STATE_ACTIVE/VIDEOBUF_ACTIVE/g
s/STATE_DONE/VIDEOBUF_DONE/g
s/STATE_ERROR/VIDEOBUF_ERROR/g
s/STATE_IDLE/VIDEOBUF_IDLE/g
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-alsa.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 4 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-mpeg.c | 14 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-vbi.c | 10 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 22 |
5 files changed, 26 insertions, 26 deletions
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c index 40ffd7a5579a..8735227f7e47 100644 --- a/drivers/media/video/cx88/cx88-alsa.c +++ b/drivers/media/video/cx88/cx88-alsa.c | |||
@@ -417,7 +417,7 @@ static int snd_cx88_hw_params(struct snd_pcm_substream * substream, | |||
417 | buf->risc.jmp[0] = cpu_to_le32(RISC_JUMP|RISC_IRQ1|RISC_CNT_INC); | 417 | buf->risc.jmp[0] = cpu_to_le32(RISC_JUMP|RISC_IRQ1|RISC_CNT_INC); |
418 | buf->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 418 | buf->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
419 | 419 | ||
420 | buf->vb.state = STATE_PREPARED; | 420 | buf->vb.state = VIDEOBUF_PREPARED; |
421 | 421 | ||
422 | chip->buf = buf; | 422 | chip->buf = buf; |
423 | chip->dma_risc = dma; | 423 | chip->dma_risc = dma; |
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index 62e8dd24c5f5..01e2ac98970b 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c | |||
@@ -220,7 +220,7 @@ cx88_free_buffer(struct videobuf_queue *q, struct cx88_buffer *buf) | |||
220 | videobuf_dma_unmap(q, dma); | 220 | videobuf_dma_unmap(q, dma); |
221 | videobuf_dma_free(dma); | 221 | videobuf_dma_free(dma); |
222 | btcx_riscmem_free((struct pci_dev *)q->dev, &buf->risc); | 222 | btcx_riscmem_free((struct pci_dev *)q->dev, &buf->risc); |
223 | buf->vb.state = STATE_NEEDS_INIT; | 223 | buf->vb.state = VIDEOBUF_NEEDS_INIT; |
224 | } | 224 | } |
225 | 225 | ||
226 | /* ------------------------------------------------------------------ */ | 226 | /* ------------------------------------------------------------------ */ |
@@ -538,7 +538,7 @@ void cx88_wakeup(struct cx88_core *core, | |||
538 | do_gettimeofday(&buf->vb.ts); | 538 | do_gettimeofday(&buf->vb.ts); |
539 | dprintk(2,"[%p/%d] wakeup reg=%d buf=%d\n",buf,buf->vb.i, | 539 | dprintk(2,"[%p/%d] wakeup reg=%d buf=%d\n",buf,buf->vb.i, |
540 | count, buf->count); | 540 | count, buf->count); |
541 | buf->vb.state = STATE_DONE; | 541 | buf->vb.state = VIDEOBUF_DONE; |
542 | list_del(&buf->vb.queue); | 542 | list_del(&buf->vb.queue); |
543 | wake_up(&buf->vb.done); | 543 | wake_up(&buf->vb.done); |
544 | } | 544 | } |
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c index 60ac4234d84c..339a88a64f54 100644 --- a/drivers/media/video/cx88/cx88-mpeg.c +++ b/drivers/media/video/cx88/cx88-mpeg.c | |||
@@ -195,7 +195,7 @@ static int cx8802_restart_queue(struct cx8802_dev *dev, | |||
195 | list_del(&buf->vb.queue); | 195 | list_del(&buf->vb.queue); |
196 | list_add_tail(&buf->vb.queue,&q->active); | 196 | list_add_tail(&buf->vb.queue,&q->active); |
197 | cx8802_start_dma(dev, q, buf); | 197 | cx8802_start_dma(dev, q, buf); |
198 | buf->vb.state = STATE_ACTIVE; | 198 | buf->vb.state = VIDEOBUF_ACTIVE; |
199 | buf->count = q->count++; | 199 | buf->count = q->count++; |
200 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); | 200 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); |
201 | dprintk(1,"[%p/%d] restart_queue - first active\n", | 201 | dprintk(1,"[%p/%d] restart_queue - first active\n", |
@@ -206,7 +206,7 @@ static int cx8802_restart_queue(struct cx8802_dev *dev, | |||
206 | prev->fmt == buf->fmt) { | 206 | prev->fmt == buf->fmt) { |
207 | list_del(&buf->vb.queue); | 207 | list_del(&buf->vb.queue); |
208 | list_add_tail(&buf->vb.queue,&q->active); | 208 | list_add_tail(&buf->vb.queue,&q->active); |
209 | buf->vb.state = STATE_ACTIVE; | 209 | buf->vb.state = VIDEOBUF_ACTIVE; |
210 | buf->count = q->count++; | 210 | buf->count = q->count++; |
211 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 211 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
212 | dprintk(1,"[%p/%d] restart_queue - move to active\n", | 212 | dprintk(1,"[%p/%d] restart_queue - move to active\n", |
@@ -242,7 +242,7 @@ int cx8802_buf_prepare(struct videobuf_queue *q, struct cx8802_dev *dev, | |||
242 | if (0 != buf->vb.baddr && buf->vb.bsize < size) | 242 | if (0 != buf->vb.baddr && buf->vb.bsize < size) |
243 | return -EINVAL; | 243 | return -EINVAL; |
244 | 244 | ||
245 | if (STATE_NEEDS_INIT == buf->vb.state) { | 245 | if (VIDEOBUF_NEEDS_INIT == buf->vb.state) { |
246 | buf->vb.width = dev->ts_packet_size; | 246 | buf->vb.width = dev->ts_packet_size; |
247 | buf->vb.height = dev->ts_packet_count; | 247 | buf->vb.height = dev->ts_packet_count; |
248 | buf->vb.size = size; | 248 | buf->vb.size = size; |
@@ -254,7 +254,7 @@ int cx8802_buf_prepare(struct videobuf_queue *q, struct cx8802_dev *dev, | |||
254 | dma->sglist, | 254 | dma->sglist, |
255 | buf->vb.width, buf->vb.height, 0); | 255 | buf->vb.width, buf->vb.height, 0); |
256 | } | 256 | } |
257 | buf->vb.state = STATE_PREPARED; | 257 | buf->vb.state = VIDEOBUF_PREPARED; |
258 | return 0; | 258 | return 0; |
259 | 259 | ||
260 | fail: | 260 | fail: |
@@ -276,7 +276,7 @@ void cx8802_buf_queue(struct cx8802_dev *dev, struct cx88_buffer *buf) | |||
276 | dprintk( 1, "queue is empty - first active\n" ); | 276 | dprintk( 1, "queue is empty - first active\n" ); |
277 | list_add_tail(&buf->vb.queue,&cx88q->active); | 277 | list_add_tail(&buf->vb.queue,&cx88q->active); |
278 | cx8802_start_dma(dev, cx88q, buf); | 278 | cx8802_start_dma(dev, cx88q, buf); |
279 | buf->vb.state = STATE_ACTIVE; | 279 | buf->vb.state = VIDEOBUF_ACTIVE; |
280 | buf->count = cx88q->count++; | 280 | buf->count = cx88q->count++; |
281 | mod_timer(&cx88q->timeout, jiffies+BUFFER_TIMEOUT); | 281 | mod_timer(&cx88q->timeout, jiffies+BUFFER_TIMEOUT); |
282 | dprintk(1,"[%p/%d] %s - first active\n", | 282 | dprintk(1,"[%p/%d] %s - first active\n", |
@@ -286,7 +286,7 @@ void cx8802_buf_queue(struct cx8802_dev *dev, struct cx88_buffer *buf) | |||
286 | dprintk( 1, "queue is not empty - append to active\n" ); | 286 | dprintk( 1, "queue is not empty - append to active\n" ); |
287 | prev = list_entry(cx88q->active.prev, struct cx88_buffer, vb.queue); | 287 | prev = list_entry(cx88q->active.prev, struct cx88_buffer, vb.queue); |
288 | list_add_tail(&buf->vb.queue,&cx88q->active); | 288 | list_add_tail(&buf->vb.queue,&cx88q->active); |
289 | buf->vb.state = STATE_ACTIVE; | 289 | buf->vb.state = VIDEOBUF_ACTIVE; |
290 | buf->count = cx88q->count++; | 290 | buf->count = cx88q->count++; |
291 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 291 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
292 | dprintk( 1, "[%p/%d] %s - append to active\n", | 292 | dprintk( 1, "[%p/%d] %s - append to active\n", |
@@ -306,7 +306,7 @@ static void do_cancel_buffers(struct cx8802_dev *dev, char *reason, int restart) | |||
306 | while (!list_empty(&q->active)) { | 306 | while (!list_empty(&q->active)) { |
307 | buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); | 307 | buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); |
308 | list_del(&buf->vb.queue); | 308 | list_del(&buf->vb.queue); |
309 | buf->vb.state = STATE_ERROR; | 309 | buf->vb.state = VIDEOBUF_ERROR; |
310 | wake_up(&buf->vb.done); | 310 | wake_up(&buf->vb.done); |
311 | dprintk(1,"[%p/%d] %s - dma=0x%08lx\n", | 311 | dprintk(1,"[%p/%d] %s - dma=0x%08lx\n", |
312 | buf, buf->vb.i, reason, (unsigned long)buf->risc.dma); | 312 | buf, buf->vb.i, reason, (unsigned long)buf->risc.dma); |
diff --git a/drivers/media/video/cx88/cx88-vbi.c b/drivers/media/video/cx88/cx88-vbi.c index babb08556406..d96ecfcf393a 100644 --- a/drivers/media/video/cx88/cx88-vbi.c +++ b/drivers/media/video/cx88/cx88-vbi.c | |||
@@ -130,7 +130,7 @@ void cx8800_vbi_timeout(unsigned long data) | |||
130 | while (!list_empty(&q->active)) { | 130 | while (!list_empty(&q->active)) { |
131 | buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); | 131 | buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); |
132 | list_del(&buf->vb.queue); | 132 | list_del(&buf->vb.queue); |
133 | buf->vb.state = STATE_ERROR; | 133 | buf->vb.state = VIDEOBUF_ERROR; |
134 | wake_up(&buf->vb.done); | 134 | wake_up(&buf->vb.done); |
135 | printk("%s/0: [%p/%d] timeout - dma=0x%08lx\n", dev->core->name, | 135 | printk("%s/0: [%p/%d] timeout - dma=0x%08lx\n", dev->core->name, |
136 | buf, buf->vb.i, (unsigned long)buf->risc.dma); | 136 | buf, buf->vb.i, (unsigned long)buf->risc.dma); |
@@ -168,7 +168,7 @@ vbi_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
168 | if (0 != buf->vb.baddr && buf->vb.bsize < size) | 168 | if (0 != buf->vb.baddr && buf->vb.bsize < size) |
169 | return -EINVAL; | 169 | return -EINVAL; |
170 | 170 | ||
171 | if (STATE_NEEDS_INIT == buf->vb.state) { | 171 | if (VIDEOBUF_NEEDS_INIT == buf->vb.state) { |
172 | struct videobuf_dmabuf *dma=videobuf_to_dma(&buf->vb); | 172 | struct videobuf_dmabuf *dma=videobuf_to_dma(&buf->vb); |
173 | buf->vb.width = VBI_LINE_LENGTH; | 173 | buf->vb.width = VBI_LINE_LENGTH; |
174 | buf->vb.height = VBI_LINE_COUNT; | 174 | buf->vb.height = VBI_LINE_COUNT; |
@@ -183,7 +183,7 @@ vbi_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
183 | buf->vb.width, 0, | 183 | buf->vb.width, 0, |
184 | buf->vb.height); | 184 | buf->vb.height); |
185 | } | 185 | } |
186 | buf->vb.state = STATE_PREPARED; | 186 | buf->vb.state = VIDEOBUF_PREPARED; |
187 | return 0; | 187 | return 0; |
188 | 188 | ||
189 | fail: | 189 | fail: |
@@ -207,7 +207,7 @@ vbi_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) | |||
207 | if (list_empty(&q->active)) { | 207 | if (list_empty(&q->active)) { |
208 | list_add_tail(&buf->vb.queue,&q->active); | 208 | list_add_tail(&buf->vb.queue,&q->active); |
209 | cx8800_start_vbi_dma(dev, q, buf); | 209 | cx8800_start_vbi_dma(dev, q, buf); |
210 | buf->vb.state = STATE_ACTIVE; | 210 | buf->vb.state = VIDEOBUF_ACTIVE; |
211 | buf->count = q->count++; | 211 | buf->count = q->count++; |
212 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); | 212 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); |
213 | dprintk(2,"[%p/%d] vbi_queue - first active\n", | 213 | dprintk(2,"[%p/%d] vbi_queue - first active\n", |
@@ -216,7 +216,7 @@ vbi_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) | |||
216 | } else { | 216 | } else { |
217 | prev = list_entry(q->active.prev, struct cx88_buffer, vb.queue); | 217 | prev = list_entry(q->active.prev, struct cx88_buffer, vb.queue); |
218 | list_add_tail(&buf->vb.queue,&q->active); | 218 | list_add_tail(&buf->vb.queue,&q->active); |
219 | buf->vb.state = STATE_ACTIVE; | 219 | buf->vb.state = VIDEOBUF_ACTIVE; |
220 | buf->count = q->count++; | 220 | buf->count = q->count++; |
221 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 221 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
222 | dprintk(2,"[%p/%d] buffer_queue - append to active\n", | 222 | dprintk(2,"[%p/%d] buffer_queue - append to active\n", |
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index c84dafbdb991..6d5ea8ce9830 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -486,7 +486,7 @@ static int restart_video_queue(struct cx8800_dev *dev, | |||
486 | if (NULL == prev) { | 486 | if (NULL == prev) { |
487 | list_move_tail(&buf->vb.queue, &q->active); | 487 | list_move_tail(&buf->vb.queue, &q->active); |
488 | start_video_dma(dev, q, buf); | 488 | start_video_dma(dev, q, buf); |
489 | buf->vb.state = STATE_ACTIVE; | 489 | buf->vb.state = VIDEOBUF_ACTIVE; |
490 | buf->count = q->count++; | 490 | buf->count = q->count++; |
491 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); | 491 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); |
492 | dprintk(2,"[%p/%d] restart_queue - first active\n", | 492 | dprintk(2,"[%p/%d] restart_queue - first active\n", |
@@ -496,7 +496,7 @@ static int restart_video_queue(struct cx8800_dev *dev, | |||
496 | prev->vb.height == buf->vb.height && | 496 | prev->vb.height == buf->vb.height && |
497 | prev->fmt == buf->fmt) { | 497 | prev->fmt == buf->fmt) { |
498 | list_move_tail(&buf->vb.queue, &q->active); | 498 | list_move_tail(&buf->vb.queue, &q->active); |
499 | buf->vb.state = STATE_ACTIVE; | 499 | buf->vb.state = VIDEOBUF_ACTIVE; |
500 | buf->count = q->count++; | 500 | buf->count = q->count++; |
501 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 501 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
502 | dprintk(2,"[%p/%d] restart_queue - move to active\n", | 502 | dprintk(2,"[%p/%d] restart_queue - move to active\n", |
@@ -553,7 +553,7 @@ buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
553 | init_buffer = 1; | 553 | init_buffer = 1; |
554 | } | 554 | } |
555 | 555 | ||
556 | if (STATE_NEEDS_INIT == buf->vb.state) { | 556 | if (VIDEOBUF_NEEDS_INIT == buf->vb.state) { |
557 | init_buffer = 1; | 557 | init_buffer = 1; |
558 | if (0 != (rc = videobuf_iolock(q,&buf->vb,NULL))) | 558 | if (0 != (rc = videobuf_iolock(q,&buf->vb,NULL))) |
559 | goto fail; | 559 | goto fail; |
@@ -601,7 +601,7 @@ buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
601 | fh->width, fh->height, fh->fmt->depth, fh->fmt->name, | 601 | fh->width, fh->height, fh->fmt->depth, fh->fmt->name, |
602 | (unsigned long)buf->risc.dma); | 602 | (unsigned long)buf->risc.dma); |
603 | 603 | ||
604 | buf->vb.state = STATE_PREPARED; | 604 | buf->vb.state = VIDEOBUF_PREPARED; |
605 | return 0; | 605 | return 0; |
606 | 606 | ||
607 | fail: | 607 | fail: |
@@ -625,14 +625,14 @@ buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) | |||
625 | 625 | ||
626 | if (!list_empty(&q->queued)) { | 626 | if (!list_empty(&q->queued)) { |
627 | list_add_tail(&buf->vb.queue,&q->queued); | 627 | list_add_tail(&buf->vb.queue,&q->queued); |
628 | buf->vb.state = STATE_QUEUED; | 628 | buf->vb.state = VIDEOBUF_QUEUED; |
629 | dprintk(2,"[%p/%d] buffer_queue - append to queued\n", | 629 | dprintk(2,"[%p/%d] buffer_queue - append to queued\n", |
630 | buf, buf->vb.i); | 630 | buf, buf->vb.i); |
631 | 631 | ||
632 | } else if (list_empty(&q->active)) { | 632 | } else if (list_empty(&q->active)) { |
633 | list_add_tail(&buf->vb.queue,&q->active); | 633 | list_add_tail(&buf->vb.queue,&q->active); |
634 | start_video_dma(dev, q, buf); | 634 | start_video_dma(dev, q, buf); |
635 | buf->vb.state = STATE_ACTIVE; | 635 | buf->vb.state = VIDEOBUF_ACTIVE; |
636 | buf->count = q->count++; | 636 | buf->count = q->count++; |
637 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); | 637 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); |
638 | dprintk(2,"[%p/%d] buffer_queue - first active\n", | 638 | dprintk(2,"[%p/%d] buffer_queue - first active\n", |
@@ -644,7 +644,7 @@ buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) | |||
644 | prev->vb.height == buf->vb.height && | 644 | prev->vb.height == buf->vb.height && |
645 | prev->fmt == buf->fmt) { | 645 | prev->fmt == buf->fmt) { |
646 | list_add_tail(&buf->vb.queue,&q->active); | 646 | list_add_tail(&buf->vb.queue,&q->active); |
647 | buf->vb.state = STATE_ACTIVE; | 647 | buf->vb.state = VIDEOBUF_ACTIVE; |
648 | buf->count = q->count++; | 648 | buf->count = q->count++; |
649 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 649 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
650 | dprintk(2,"[%p/%d] buffer_queue - append to active\n", | 650 | dprintk(2,"[%p/%d] buffer_queue - append to active\n", |
@@ -652,7 +652,7 @@ buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) | |||
652 | 652 | ||
653 | } else { | 653 | } else { |
654 | list_add_tail(&buf->vb.queue,&q->queued); | 654 | list_add_tail(&buf->vb.queue,&q->queued); |
655 | buf->vb.state = STATE_QUEUED; | 655 | buf->vb.state = VIDEOBUF_QUEUED; |
656 | dprintk(2,"[%p/%d] buffer_queue - first queued\n", | 656 | dprintk(2,"[%p/%d] buffer_queue - first queued\n", |
657 | buf, buf->vb.i); | 657 | buf, buf->vb.i); |
658 | } | 658 | } |
@@ -822,8 +822,8 @@ video_poll(struct file *file, struct poll_table_struct *wait) | |||
822 | return POLLERR; | 822 | return POLLERR; |
823 | } | 823 | } |
824 | poll_wait(file, &buf->vb.done, wait); | 824 | poll_wait(file, &buf->vb.done, wait); |
825 | if (buf->vb.state == STATE_DONE || | 825 | if (buf->vb.state == VIDEOBUF_DONE || |
826 | buf->vb.state == STATE_ERROR) | 826 | buf->vb.state == VIDEOBUF_ERROR) |
827 | return POLLIN|POLLRDNORM; | 827 | return POLLIN|POLLRDNORM; |
828 | return 0; | 828 | return 0; |
829 | } | 829 | } |
@@ -1496,7 +1496,7 @@ static void cx8800_vid_timeout(unsigned long data) | |||
1496 | while (!list_empty(&q->active)) { | 1496 | while (!list_empty(&q->active)) { |
1497 | buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); | 1497 | buf = list_entry(q->active.next, struct cx88_buffer, vb.queue); |
1498 | list_del(&buf->vb.queue); | 1498 | list_del(&buf->vb.queue); |
1499 | buf->vb.state = STATE_ERROR; | 1499 | buf->vb.state = VIDEOBUF_ERROR; |
1500 | wake_up(&buf->vb.done); | 1500 | wake_up(&buf->vb.done); |
1501 | printk("%s/0: [%p/%d] timeout - dma=0x%08lx\n", core->name, | 1501 | printk("%s/0: [%p/%d] timeout - dma=0x%08lx\n", core->name, |
1502 | buf, buf->vb.i, (unsigned long)buf->risc.dma); | 1502 | buf, buf->vb.i, (unsigned long)buf->risc.dma); |