Skip to content

Commit

Permalink
V4L/DVB (9001): S2API: ISDBT_SEGMENT_NUM -> ISDBT_SEGMENT_IDX
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent d5748f1 commit d7c1500
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions drivers/media/dvb/dvb-core/dvb_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,9 +829,9 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_SET_DELIVERY_SYSTEM,
.set = 1,
},
[DTV_SET_ISDB_SEGMENT_NUM] = {
.name = "DTV_SET_ISDB_SEGMENT_NUM",
.cmd = DTV_SET_ISDB_SEGMENT_NUM,
[DTV_SET_ISDB_SEGMENT_IDX] = {
.name = "DTV_SET_ISDB_SEGMENT_IDX",
.cmd = DTV_SET_ISDB_SEGMENT_IDX,
.set = 1,
},
[DTV_SET_ISDB_SEGMENT_WIDTH] = {
Expand Down Expand Up @@ -902,9 +902,9 @@ struct dtv_cmds_h dtv_cmds[] = {
.cmd = DTV_GET_DELIVERY_SYSTEM,
.set = 0,
},
[DTV_GET_ISDB_SEGMENT_NUM] = {
.name = "DTV_GET_ISDB_SEGMENT_NUM",
.cmd = DTV_GET_ISDB_SEGMENT_NUM,
[DTV_GET_ISDB_SEGMENT_IDX] = {
.name = "DTV_GET_ISDB_SEGMENT_IDX",
.cmd = DTV_GET_ISDB_SEGMENT_IDX,
.set = 0,
},
[DTV_GET_ISDB_SEGMENT_WIDTH] = {
Expand Down Expand Up @@ -1232,11 +1232,11 @@ int dtv_property_process(struct dvb_frontend *fe, struct dtv_property *tvp,
break;

/* ISDB-T Support here */
case DTV_SET_ISDB_SEGMENT_NUM:
fe->dtv_property_cache.isdb_segment_num = tvp->u.data;
case DTV_SET_ISDB_SEGMENT_IDX:
fe->dtv_property_cache.isdb_segment_idx = tvp->u.data;
break;
case DTV_GET_ISDB_SEGMENT_NUM:
tvp->u.data = fe->dtv_property_cache.isdb_segment_num;
case DTV_GET_ISDB_SEGMENT_IDX:
tvp->u.data = fe->dtv_property_cache.isdb_segment_idx;
break;
case DTV_SET_ISDB_SEGMENT_WIDTH:
fe->dtv_property_cache.isdb_segment_width = tvp->u.data;
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-core/dvb_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ struct dtv_frontend_properties {
fe_delivery_system_t delivery_system;

/* ISDB-T specifics */
u32 isdb_segment_num;
u32 isdb_segment_idx;
u32 isdb_segment_width;
fe_code_rate_t isdb_layera_fec;
fe_modulation_t isdb_layera_modulation;
Expand Down
4 changes: 2 additions & 2 deletions include/linux/dvb/frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ typedef enum dtv_cmd_types {
DTV_GET_DELIVERY_SYSTEM,

/* ISDB-T */
DTV_SET_ISDB_SEGMENT_NUM,
DTV_GET_ISDB_SEGMENT_NUM,
DTV_SET_ISDB_SEGMENT_IDX,
DTV_GET_ISDB_SEGMENT_IDX,
DTV_SET_ISDB_SEGMENT_WIDTH,
DTV_GET_ISDB_SEGMENT_WIDTH,
DTV_GET_ISDB_LAYERA_FEC,
Expand Down

0 comments on commit d7c1500

Please sign in to comment.