--- a/linux/drivers/media/video/cx88/cx88-dvb.c Thu Nov 20 04:57:12 2008 +0000
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c Fri Nov 21 16:45:18 2008 +0000
@@ -1137,6 +1137,8 @@
udelay(50);
cx_set(MO_GP0_IO, 0x00000080);
udelay(1000);
+ /* Put the cx23416 into reset */
+ cx_write(MO_SRST_IO, 0);
/* enable the cx22702 pins */
cx_clear(MO_GP0_IO, 0x00000004);
udelay(1000);
@@ -1155,9 +1157,13 @@
case 1: /* DVB-S/S2 Enabled */
/* tri-state the cx22702 pins */
cx_set(MO_GP0_IO, 0x00000004);
+ /* Take the cx24116/cx24123 out of reset */
+ cx_write(MO_SRST_IO, 1);
core->dvbdev->ts_gen_cntrl = 0x02; /* Parallel IO */
break;
case 2: /* DVB-T Enabled */
+ /* Put the cx24116/cx24123 into reset */
+ cx_write(MO_SRST_IO, 0);
/* enable the cx22702 pins */
cx_clear(MO_GP0_IO, 0x00000004);
core->dvbdev->ts_gen_cntrl = 0x0c; /* Serial IO */