Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113962
b: refs/heads/master
c: d7c1500
h: refs/heads/master
v: v3
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 9a4ec87 commit 20de236
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d5748f1079c01c8861b05e0de7c4cda271532cb9
refs/heads/master: d7c1500183bc138b634377ed90c046e722b887d8
20 changes: 10 additions & 10 deletions trunk/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 trunk/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 trunk/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 20de236

Please sign in to comment.