Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285383
b: refs/heads/master
c: 6bad3ae
h: refs/heads/master
i:
  285381: 16ff950
  285379: f505609
  285375: fb871ff
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 12, 2011
1 parent 43fdd91 commit 7168f13
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 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: 61d4f9c918c591e4f7970ef29bafb302664be466
refs/heads/master: 6bad3aeb8cc542b90ae62b35caca44305cd93ef5
19 changes: 18 additions & 1 deletion trunk/drivers/media/dvb/frontends/stv090x.c
Original file line number Diff line number Diff line change
Expand Up @@ -4711,6 +4711,21 @@ int stv090x_set_gpio(struct dvb_frontend *fe, u8 gpio, u8 dir, u8 value,
}
EXPORT_SYMBOL(stv090x_set_gpio);

static int stv090x_get_property(struct dvb_frontend *fe, struct dtv_property *p)
{
switch (p->cmd) {
case DTV_ENUM_DELSYS:
p->u.buffer.data[0] = SYS_DSS;
p->u.buffer.data[1] = SYS_DVBS;
p->u.buffer.data[2] = SYS_DVBS2;
p->u.buffer.len = 3;
break;
default:
break;
}
return 0;
}

static struct dvb_frontend_ops stv090x_ops = {

.info = {
Expand Down Expand Up @@ -4743,7 +4758,9 @@ static struct dvb_frontend_ops stv090x_ops = {
.read_status = stv090x_read_status,
.read_ber = stv090x_read_per,
.read_signal_strength = stv090x_read_signal_strength,
.read_snr = stv090x_read_cnr
.read_snr = stv090x_read_cnr,

.get_property = stv090x_get_property,
};


Expand Down

0 comments on commit 7168f13

Please sign in to comment.