Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367194
b: refs/heads/master
c: 13122f9
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 25, 2013
1 parent cfe9d54 commit 9d2cddd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 746f7ae0e9ca500f8be888675d88befed5740413
refs/heads/master: 13122f98c6479ddbfc308eb4253f84aaf4a2b45e
12 changes: 6 additions & 6 deletions trunk/drivers/media/dvb-frontends/dib8000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2416,19 +2416,19 @@ static void dib8000_set_isdbt_common_channel(struct dib8000_state *state, u8 seq
static u32 dib8000_wait_lock(struct dib8000_state *state, u32 internal,
u32 wait0_ms, u32 wait1_ms, u32 wait2_ms)
{
u32 value;
u16 reg = 11; /* P_search_end0 start addr */
u32 value = 0; /* P_search_end0 wait time */
u16 reg = 11; /* P_search_end0 start addr */

for (reg = 11; reg < 16; reg += 2) {
if (reg == 11) {
if (state->revision == 0x8090)
value = internal * wait1_ms; /* P_search_end0 wait time */
value = internal * wait1_ms;
else
value = internal * wait0_ms; /* P_search_end0 wait time */
value = internal * wait0_ms;
} else if (reg == 13)
value = internal * wait1_ms; /* P_search_end0 wait time */
value = internal * wait1_ms;
else if (reg == 15)
value = internal * wait2_ms; /* P_search_end0 wait time */
value = internal * wait2_ms;
dib8000_write_word(state, reg, (u16)((value >> 16) & 0xffff));
dib8000_write_word(state, (reg + 1), (u16)(value & 0xffff));
}
Expand Down

0 comments on commit 9d2cddd

Please sign in to comment.