Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285382
b: refs/heads/master
c: 61d4f9c
h: refs/heads/master
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 12, 2011
1 parent 16ff950 commit 43fdd91
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c7ef54774a28aec6268ca325abf95c7d6956ee3
refs/heads/master: 61d4f9c918c591e4f7970ef29bafb302664be466
17 changes: 17 additions & 0 deletions trunk/drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1605,6 +1605,21 @@ static enum dvbfe_algo stb0899_frontend_algo(struct dvb_frontend *fe)
return DVBFE_ALGO_CUSTOM;
}

static int stb0899_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 stb0899_ops = {

.info = {
Expand Down Expand Up @@ -1647,6 +1662,8 @@ static struct dvb_frontend_ops stb0899_ops = {
.diseqc_send_master_cmd = stb0899_send_diseqc_msg,
.diseqc_recv_slave_reply = stb0899_recv_slave_reply,
.diseqc_send_burst = stb0899_send_diseqc_burst,

.get_property = stb0899_get_property,
};

struct dvb_frontend *stb0899_attach(struct stb0899_config *config, struct i2c_adapter *i2c)
Expand Down

0 comments on commit 43fdd91

Please sign in to comment.