Commit 63aad05b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] s921: Properly report the delivery system

Before this patch, a query for the delivery systems were
returned SYS_UNDEFINED.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8de8594a
...@@ -1309,7 +1309,6 @@ static void dtv_set_default_delivery_caps(const struct dvb_frontend *fe, struct ...@@ -1309,7 +1309,6 @@ static void dtv_set_default_delivery_caps(const struct dvb_frontend *fe, struct
p->u.buffer.len = ncaps; p->u.buffer.len = ncaps;
return; return;
} }
switch (info->type) { switch (info->type) {
case FE_QPSK: case FE_QPSK:
p->u.buffer.data[ncaps++] = SYS_DVBS; p->u.buffer.data[ncaps++] = SYS_DVBS;
......
...@@ -440,6 +440,7 @@ static int s921_get_frontend(struct dvb_frontend *fe, ...@@ -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 */ /* FIXME: Probably it is possible to get it from regs f1 and f2 */
p->frequency = state->currentfreq; p->frequency = state->currentfreq;
p->delivery_system = SYS_ISDBT;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment