diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-27 06:25:33 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 07:23:40 -0500 |
commit | 63aad05b8d27f4e62227061f7e4ecc7041b92f58 (patch) | |
tree | 363ff3e5a365a9f98871b50217ffb246008c7e68 | |
parent | 8de8594a79ae43b08d115c94f09373f6c673f202 (diff) |
[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>
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/s921.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 55ca5521bca6..5f5a0caa4507 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c | |||
@@ -1309,7 +1309,6 @@ static void dtv_set_default_delivery_caps(const struct dvb_frontend *fe, struct | |||
1309 | p->u.buffer.len = ncaps; | 1309 | p->u.buffer.len = ncaps; |
1310 | return; | 1310 | return; |
1311 | } | 1311 | } |
1312 | |||
1313 | switch (info->type) { | 1312 | switch (info->type) { |
1314 | case FE_QPSK: | 1313 | case FE_QPSK: |
1315 | p->u.buffer.data[ncaps++] = SYS_DVBS; | 1314 | p->u.buffer.data[ncaps++] = SYS_DVBS; |
diff --git a/drivers/media/dvb/frontends/s921.c b/drivers/media/dvb/frontends/s921.c index 2e15f92a9a9e..7652d3fac766 100644 --- a/drivers/media/dvb/frontends/s921.c +++ b/drivers/media/dvb/frontends/s921.c | |||
@@ -440,6 +440,7 @@ static int s921_get_frontend(struct dvb_frontend *fe, | |||
440 | 440 | ||
441 | /* FIXME: Probably it is possible to get it from regs f1 and f2 */ | 441 | /* FIXME: Probably it is possible to get it from regs f1 and f2 */ |
442 | p->frequency = state->currentfreq; | 442 | p->frequency = state->currentfreq; |
443 | p->delivery_system = SYS_ISDBT; | ||
443 | 444 | ||
444 | return 0; | 445 | return 0; |
445 | } | 446 | } |