Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29843
b: refs/heads/master
c: 68ef505
h: refs/heads/master
i:
  29841: 747a806
  29839: 507d1cd
v: v3
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent e564d0b commit 7e1c252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 87184554722b9d06154d70a48aa63ad744ef3fa9
refs/heads/master: 68ef505e31bb182131c208d139c9b6da33d8d330
4 changes: 1 addition & 3 deletions trunk/drivers/media/dvb/frontends/or51132.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ static int or51132_sleep(struct dvb_frontend* fe)
static int or51132_setmode(struct dvb_frontend* fe)
{
struct or51132_state* state = fe->demodulator_priv;
unsigned char cmd_buf[4];
unsigned char cmd_buf[3];

dprintk("setmode %d\n",(int)state->current_modulation);
/* set operation mode in Receiver 1 register; */
Expand All @@ -260,7 +260,6 @@ static int or51132_setmode(struct dvb_frontend* fe)
default:
printk("setmode:Modulation set to unsupported value\n");
};
cmd_buf[3] = 0x00;
if (i2c_writebytes(state,state->config->demod_address,
cmd_buf,3)) {
printk(KERN_WARNING "or51132: set_mode error 1\n");
Expand Down Expand Up @@ -298,7 +297,6 @@ static int or51132_setmode(struct dvb_frontend* fe)
default:
printk("setmode: Modulation set to unsupported value\n");
};
cmd_buf[3] = 0x00;
msleep(20); /* 20ms */
if (i2c_writebytes(state,state->config->demod_address,
cmd_buf,3)) {
Expand Down

0 comments on commit 7e1c252

Please sign in to comment.