[media] pctv452e: correct parameters for TechnoTrend TT S2-3600
authorOlli Salonen <olli.salonen@iki.fi>
Wed, 16 Mar 2016 19:16:41 +0000 (16:16 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 7 May 2016 13:27:19 +0000 (10:27 -0300)
2008-02-25 Andre Weidemann added support for TT S2-3600 and noted
that he still gets image distortions every now and then.

It seems to be common knowledge in many projects that changing
the USB parameters seems to help. OpenELEC has included this patch
for a few years, for example. Nobody bothered to report the issue
upstream though, it seems.

https://github.com/OpenELEC/OpenELEC.tv/issues/1957
http://www.vdr-portal.de/board60-linux/board14-betriebssystem/board96-yavdr/p1033458-darstellungsproblem-bei-2-tt-3600-usb/#post1033458 (in German)

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/pctv452e.c

index ec397c4..c05de1b 100644 (file)
@@ -995,11 +995,11 @@ static struct dvb_usb_device_properties tt_connect_s2_3600_properties = {
                        /* parameter for the MPEG2-data transfer */
                        .stream = {
                                .type = USB_ISOC,
-                               .count = 7,
+                               .count = 4,
                                .endpoint = 0x02,
                                .u = {
                                        .isoc = {
-                                               .framesperurb = 4,
+                                               .framesperurb = 64,
                                                .framesize = 940,
                                                .interval = 1
                                        }