[media] ngene: Fix CI data transfer regression
authorOliver Endriss <o.endriss@gmx.de>
Tue, 29 Mar 2011 20:35:24 +0000 (17:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Apr 2011 15:35:10 +0000 (12:35 -0300)
Fix CI data transfer regression introduced by previous cleanup.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-core.c

index 175a0f6c2a4c1b11a06925ba907274ee4d1737e8..96307056589d559e4ad87aa8d1e54b64c4f3458a 100644 (file)
@@ -1520,6 +1520,7 @@ static int init_channel(struct ngene_channel *chan)
        if (dev->ci.en && (io & NGENE_IO_TSOUT)) {
                dvb_ca_en50221_init(adapter, dev->ci.en, 0, 1);
                set_transfer(chan, 1);
+               chan->dev->channel[2].DataFormatFlags = DF_SWAP32;
                set_transfer(&chan->dev->channel[2], 1);
                dvb_register_device(adapter, &chan->ci_dev,
                                    &ngene_dvbdev_ci, (void *) chan,