Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285425
b: refs/heads/master
c: 54828d1
h: refs/heads/master
i:
  285423: 45b8c3e
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Dec 30, 2011
1 parent fab031f commit be63425
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 26110dac8b3b30a99555d85fc1308a21fba5b746
refs/heads/master: 54828d19f82be0d62e22fbd5a6354136c50a20eb
7 changes: 6 additions & 1 deletion trunk/drivers/media/dvb/frontends/lgdt330x.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe,

static u8 top_ctrl_cfg[] = { TOP_CONTROL, 0x03 };

int err;
int err = 0;
/* Change only if we are actually changing the modulation */
if (state->current_modulation != param->u.vsb.modulation) {
switch(param->u.vsb.modulation) {
Expand Down Expand Up @@ -402,6 +402,11 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe,
printk(KERN_WARNING "lgdt330x: %s: Modulation type(%d) UNSUPPORTED\n", __func__, param->u.vsb.modulation);
return -1;
}
if (err < 0)
printk(KERN_WARNING "lgdt330x: %s: error blasting "
"bytes to lgdt3303 for modulation type(%d)\n",
__func__, param->u.vsb.modulation);

/*
* select serial or parallel MPEG harware interface
* Serial: 0x04 for LGDT3302 or 0x40 for LGDT3303
Expand Down

0 comments on commit be63425

Please sign in to comment.