Changeset 4004
- Timestamp:
- 08/18/07 21:02:51 (1 year ago)
- Files:
-
- ivtv/branches/0.10/driver/ivtv-irq.c (modified) (2 diffs)
- ivtv/branches/0.10/driver/ivtv-streams.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ivtv/branches/0.10/driver/ivtv-irq.c
r4003 r4004 501 501 write_reg(read_reg(IVTV_REG_DMASTATUS) & 3, IVTV_REG_DMASTATUS); 502 502 if (itv->dma_retries == 3) { 503 /* Too many retries, give up on this frame */ 503 504 itv->dma_retries = 0; 505 s->sg_processed = s->sg_processing_size; 504 506 } 505 507 else { … … 561 563 write_reg(read_reg(IVTV_REG_DMASTATUS) & 3, IVTV_REG_DMASTATUS); 562 564 if (itv->dma_retries == 3) { 565 /* Too many retries, give up on this frame */ 563 566 itv->dma_retries = 0; 567 s->sg_processed = s->sg_processing_size; 564 568 } 565 569 else { ivtv/branches/0.10/driver/ivtv-streams.c
r3979 r4004 822 822 /* Set the following Interrupt mask bits for capture */ 823 823 ivtv_set_irq_mask(itv, IVTV_IRQ_MASK_CAPTURE); 824 del_timer(&itv->dma_timer); 824 825 825 826 /* event notification (off) */ … … 884 885 885 886 ivtv_set_irq_mask(itv, IVTV_IRQ_MASK_DECODE); 887 del_timer(&itv->dma_timer); 886 888 887 889 clear_bit(IVTV_F_S_NEEDS_DATA, &s->s_flags);
