[DVB patch 16/48] ttusb_dec: use alternative interface to save bandwidth
From: Johannes Stezenbach
Date: Mon Mar 21 2005 - 21:18:27 EST
Use alternative interface. Asks for less bandwidth and therefore works with
OHCI as well as UHCI (Alex Woods)
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>
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);
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/