Skip to content

Commit

Permalink
[media] s921: Properly report the delivery system
Browse files Browse the repository at this point in the history
Before this patch, a query for the delivery systems were
returned SYS_UNDEFINED.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent 8de8594 commit 63aad05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,6 @@ static void dtv_set_default_delivery_caps(const struct dvb_frontend *fe, struct
p->u.buffer.len = ncaps;
return;
}

switch (info->type) {
case FE_QPSK:
p->u.buffer.data[ncaps++] = SYS_DVBS;
Expand Down
1 change: 1 addition & 0 deletions drivers/media/dvb/frontends/s921.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ static int s921_get_frontend(struct dvb_frontend *fe,

/* FIXME: Probably it is possible to get it from regs f1 and f2 */
p->frequency = state->currentfreq;
p->delivery_system = SYS_ISDBT;

return 0;
}
Expand Down

0 comments on commit 63aad05

Please sign in to comment.