diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-10-06 21:01:47 -0400 |
---|---|---|
committer | Steven Toth <stoth@linuxtv.org> | 2008-10-06 21:01:47 -0400 |
commit | 4bfe022c9d8c09b8c4e8a2b429609bd4b73c2fea (patch) | |
tree | 8526603da2b2bba3a618bd87aaf9445dede7b916 /linux/drivers/media | |
parent | 77e4006bebedd63a6602c7672794fe8f4ad5752b (diff) | |
download | mediapointer-dvb-s2-4bfe022c9d8c09b8c4e8a2b429609bd4b73c2fea.tar.gz mediapointer-dvb-s2-4bfe022c9d8c09b8c4e8a2b429609bd4b73c2fea.tar.bz2 |
S2API: Added support for DTV_HIERARCHY
From: Steven Toth <stoth@linuxtv.org>
A user tuning DVB-T via the S2API reports that this was not implemented,
and his tuning was failing.
Priority: normal
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index 361c1c541..546705d13 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -841,6 +841,11 @@ struct dtv_cmds_h dtv_cmds[] = { .cmd = DTV_DELIVERY_SYSTEM, .set = 1, }, + [DTV_HIERARCHY] = { + .name = "DTV_HIERARCHY", + .cmd = DTV_HIERARCHY, + .set = 1, + }, #if 0 [DTV_ISDB_SEGMENT_IDX] = { .name = "DTV_ISDB_SEGMENT_IDX", @@ -952,6 +957,11 @@ struct dtv_cmds_h dtv_cmds[] = { .cmd = DTV_TRANSMISSION_MODE, .set = 0, }, + [DTV_HIERARCHY] = { + .name = "DTV_HIERARCHY", + .cmd = DTV_HIERARCHY, + .set = 0, + }, }; void dtv_property_dump(struct dtv_property *tvp) @@ -1279,6 +1289,9 @@ int dtv_property_process_get(struct dvb_frontend *fe, struct dtv_property *tvp, case DTV_TRANSMISSION_MODE: tvp->u.data = fe->dtv_property_cache.transmission_mode; break; + case DTV_HIERARCHY: + tvp->u.data = fe->dtv_property_cache.hierarchy; + break; default: r = -1; } @@ -1381,6 +1394,9 @@ int dtv_property_process_set(struct dvb_frontend *fe, struct dtv_property *tvp, case DTV_TRANSMISSION_MODE: fe->dtv_property_cache.transmission_mode = tvp->u.data; break; + case DTV_HIERARCHY: + fe->dtv_property_cache.hierarchy = tvp->u.data; + break; default: r = -1; } |