1
0
Fork 0

[media] s921: Properly report the delivery system

Before this patch, a query for the delivery systems were
returned SYS_UNDEFINED.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hifive-unleashed-5.1
Mauro Carvalho Chehab 2011-12-27 08:25:33 -03:00
parent 8de8594a79
commit 63aad05b8d
2 changed files with 1 additions and 1 deletions

View File

@ -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;

View File

@ -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;
}