summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Woods <devnull@localhost>2004-01-18 00:28:35 +0000
committerAlex Woods <devnull@localhost>2004-01-18 00:28:35 +0000
commit8154ccf1c8d99d9e835669b5b33ade2eff8ee6ac (patch)
treed500308058c36693ca81cfcac07dc6e46d2a3382
parent9369eba75d0d500eb3837d4c9b452b7d66f23dad (diff)
downloadmediapointer-dvb-s2-8154ccf1c8d99d9e835669b5b33ade2eff8ee6ac.tar.gz
mediapointer-dvb-s2-8154ccf1c8d99d9e835669b5b33ade2eff8ee6ac.tar.bz2
Fix for failing urb submission under 2.6 kernels
-rw-r--r--linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
index d0f596f92..3b0387440 100644
--- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
+++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
@@ -867,6 +867,9 @@ static int ttusb_start_iso_xfer(struct ttusb *ttusb)
urb->complete = ttusb_iso_irq;
urb->pipe = ttusb->isoc_in_pipe;
urb->transfer_flags = URB_ISO_ASAP;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
+ urb->interval = 1;
+#endif
urb->number_of_packets = FRAMES_PER_ISO_BUF;
urb->transfer_buffer_length =
ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF;