Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161543
b: refs/heads/master
c: ad5f74c
h: refs/heads/master
i:
  161541: ce04411
  161539: 8b24900
  161535: 9770073
v: v3
  • Loading branch information
Igor M. Liplianin authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent 5473fd9 commit 367bcba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: decee2e8a9538ae5476e6cb3f4b7714c92a04a2b
refs/heads/master: ad5f74c0ad9afcc9a20f35850aa5170768c64a0c
7 changes: 6 additions & 1 deletion trunk/drivers/media/video/cx88/cx88-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -1953,7 +1953,8 @@ static const struct cx88_board cx88_boards[] = {
.radio_addr = ADDR_UNSET,
.input = {{
.type = CX88_VMUX_DVB,
.vmux = 1,
.vmux = 0,
.gpio0 = 0x8080,
} },
.mpeg = CX88_MPEG_DVB,
},
Expand Down Expand Up @@ -3211,7 +3212,11 @@ static void cx88_card_setup(struct cx88_core *core)
case CX88_BOARD_PROF_6200:
case CX88_BOARD_PROF_7300:
case CX88_BOARD_SATTRADE_ST4200:
cx_write(MO_GP0_IO, 0x8000);
msleep(100);
cx_write(MO_SRST_IO, 0);
msleep(10);
cx_write(MO_GP0_IO, 0x8080);
msleep(100);
cx_write(MO_SRST_IO, 1);
msleep(100);
Expand Down
9 changes: 4 additions & 5 deletions trunk/drivers/media/video/cx88/cx88-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,17 +424,16 @@ static int tevii_dvbs_set_voltage(struct dvb_frontend *fe,
struct cx8802_dev *dev= fe->dvb->priv;
struct cx88_core *core = dev->core;

cx_set(MO_GP0_IO, 0x6040);
switch (voltage) {
case SEC_VOLTAGE_13:
printk("LNB Voltage SEC_VOLTAGE_13\n");
cx_write(MO_GP0_IO, 0x00006040);
cx_clear(MO_GP0_IO, 0x20);
break;
case SEC_VOLTAGE_18:
printk("LNB Voltage SEC_VOLTAGE_18\n");
cx_write(MO_GP0_IO, 0x00006060);
cx_set(MO_GP0_IO, 0x20);
break;
case SEC_VOLTAGE_OFF:
printk("LNB Voltage SEC_VOLTAGE_off\n");
cx_clear(MO_GP0_IO, 0x20);
break;
}

Expand Down

0 comments on commit 367bcba

Please sign in to comment.