diff options
author | Manu Abraham <manu@kromtek.com> | 2005-05-28 18:51:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-28 19:46:10 -0400 |
commit | 226d97ec3e47b54ecc13f6ea3c300dc6a1b290c3 (patch) | |
tree | aa9e8ad83c30cadca6b7cfac04a3ee7df189b226 | |
parent | 86360a3edeb6b7b6230dc13ef6835d2851409502 (diff) |
[PATCH] dvb: Small cleanup
Miscellaneous cleanup
Signed-off-by: Manu Abraham <manu@kromtek.com>
Cc: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/media/dvb/bt8xx/dst.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c index 8104240a2208..1339912c308b 100644 --- a/drivers/media/dvb/bt8xx/dst.c +++ b/drivers/media/dvb/bt8xx/dst.c | |||
@@ -1041,7 +1041,7 @@ static int dst_set_diseqc(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* | |||
1041 | struct dst_state* state = fe->demodulator_priv; | 1041 | struct dst_state* state = fe->demodulator_priv; |
1042 | u8 paket[8] = { 0x00, 0x08, 0x04, 0xe0, 0x10, 0x38, 0xf0, 0xec }; | 1042 | u8 paket[8] = { 0x00, 0x08, 0x04, 0xe0, 0x10, 0x38, 0xf0, 0xec }; |
1043 | 1043 | ||
1044 | if (state->dst_type == DST_TYPE_IS_TERR) | 1044 | if (state->dst_type != DST_TYPE_IS_SAT) |
1045 | return 0; | 1045 | return 0; |
1046 | 1046 | ||
1047 | if (cmd->msg_len == 0 || cmd->msg_len > 4) | 1047 | if (cmd->msg_len == 0 || cmd->msg_len > 4) |
@@ -1059,7 +1059,7 @@ static int dst_set_voltage(struct dvb_frontend* fe, fe_sec_voltage_t voltage) | |||
1059 | 1059 | ||
1060 | state->voltage = voltage; | 1060 | state->voltage = voltage; |
1061 | 1061 | ||
1062 | if (state->dst_type == DST_TYPE_IS_TERR) | 1062 | if (state->dst_type != DST_TYPE_IS_SAT) |
1063 | return 0; | 1063 | return 0; |
1064 | 1064 | ||
1065 | need_cmd = 0; | 1065 | need_cmd = 0; |
@@ -1093,7 +1093,7 @@ static int dst_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) | |||
1093 | 1093 | ||
1094 | state->tone = tone; | 1094 | state->tone = tone; |
1095 | 1095 | ||
1096 | if (state->dst_type == DST_TYPE_IS_TERR) | 1096 | if (state->dst_type != DST_TYPE_IS_SAT) |
1097 | return 0; | 1097 | return 0; |
1098 | 1098 | ||
1099 | switch (tone) { | 1099 | switch (tone) { |
@@ -1117,7 +1117,7 @@ static int dst_send_burst(struct dvb_frontend *fe, fe_sec_mini_cmd_t minicmd) | |||
1117 | { | 1117 | { |
1118 | struct dst_state *state = fe->demodulator_priv; | 1118 | struct dst_state *state = fe->demodulator_priv; |
1119 | 1119 | ||
1120 | if ((state->dst_type == DST_TYPE_IS_TERR) || (state->dst_type == DST_TYPE_IS_CABLE)) | 1120 | if (state->dst_type != DST_TYPE_IS_SAT) |
1121 | return 0; | 1121 | return 0; |
1122 | 1122 | ||
1123 | state->minicmd = minicmd; | 1123 | state->minicmd = minicmd; |