From f1df770e561227ea59ede871c9452f13c2e3a1a0 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Tue, 14 Oct 2003 12:41:22 +0000 Subject: Make cleanup handler interruptible. --- linux/drivers/media/common/saa7146_fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c index d5f02eca5..4bcb34f8d 100644 --- a/linux/drivers/media/common/saa7146_fops.c +++ b/linux/drivers/media/common/saa7146_fops.c @@ -12,7 +12,7 @@ void saa7146_dma_free(struct saa7146_dev *dev,struct saa7146_buf *buf) if (in_interrupt()) BUG(); - videobuf_waiton(&buf->vb,0,0); + videobuf_waiton(&buf->vb,0,1); videobuf_dma_pci_unmap(dev->pci, &buf->vb.dma); videobuf_dma_free(&buf->vb.dma); buf->vb.state = STATE_NEEDS_INIT; -- cgit v1.2.3