media: cx231xx: Increase USB bridge bandwidth
authorBrad Love <brad@nextdimension.cc>
Mon, 2 Apr 2018 19:59:01 +0000 (15:59 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 4 Apr 2018 10:27:28 +0000 (06:27 -0400)
The cx231xx USB bridge has issue streaming QAM256 DVB-C channels.
QAM64 channels were fine, but QAM256 channels produced corrupted
transport streams.

cx231xx alt mode 4 does not provide enough bandwidth to acommodate
QAM256 DVB-C channels, most likely DVB-T2 channels would break up
as well. Alt mode 5 increases bridge bandwidth to 90Mbps, and
fixes QAM256 DVB-C streaming.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cx231xx/cx231xx-dvb.c

index 713029420fcf54eb85260596de18a484e9298549..67ed66712d058c6676001bcb3226c31d6fb9cfc3 100644 (file)
@@ -276,7 +276,7 @@ static int start_streaming(struct cx231xx_dvb *dvb)
 
        if (dev->USE_ISO) {
                dev_dbg(dev->dev, "DVB transfer mode is ISO.\n");
-               cx231xx_set_alt_setting(dev, INDEX_TS1, 4);
+               cx231xx_set_alt_setting(dev, INDEX_TS1, 5);
                rc = cx231xx_set_mode(dev, CX231XX_DIGITAL_MODE);
                if (rc < 0)
                        return rc;