[DVB patch 16/48] ttusb_dec: use alternative interface to save bandwidth

Johannes Stezenbach
2005-03-22T02:13:49Z

[-- Attachment #1: dvb-ttusbdec-ohci-compat.patch --]
[-- Type: text/plain, Size: 1122 bytes --]

Use alternative interface. Asks for less bandwidth and therefore works with
OHCI as well as UHCI (Alex Woods)

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>

ttusb_dec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.12-rc1-mm1/drivers/media/dvb/ttusb-dec/ttusb_dec.c
===================================================================
--- linux-2.6.12-rc1-mm1.orig/drivers/media/dvb/ttusb-dec/ttusb_dec.c 2005-03-21 23:27:58.000000000 +0100
+++ linux-2.6.12-rc1-mm1/drivers/media/dvb/ttusb-dec/ttusb_dec.c 2005-03-22 00:15:50.000000000 +0100
@@ -62,7 +62,7 @@ MODULE_PARM_DESC(output_pva, "Output PVA

#define ISO_BUF_COUNT 0x04
#define FRAMES_PER_ISO_BUF 0x04
-#define ISO_FRAME_SIZE 0x03FF
+#define ISO_FRAME_SIZE 0x0380

#define MAX_PVA_LENGTH 6144

@@ -781,7 +781,7 @@ static int ttusb_dec_set_interface(struc
b, NULL, NULL);
if (result)
return result;
- result = usb_set_interface(dec->udev, 0, 7);
+ result = usb_set_interface(dec->udev, 0, 8);
break;
case TTUSB_DEC_INTERFACE_OUT:
result = usb_set_interface(dec->udev, 0, 1);

--