Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113955
b: refs/heads/master
c: cc8c4f3
h: refs/heads/master
i:
  113953: e982610
  113951: db355fd
v: v3
  • Loading branch information
Igor M. Liplianin authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent f9b2563 commit 7e2878e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 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: 3f8e51add2b7d37f16343e6bdcc63862d87ccd04
refs/heads/master: cc8c4f3a9c8dacff198438debd159ae4753744fc
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/dvb-usb/dw2102.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static int dw2102_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)

static struct cx24116_config dw2104_config = {
.demod_address = 0x55,
/*.mpg_clk_pos_pol = 0x01,*/
.mpg_clk_pos_pol = 0x01,
};

static int dw2104_frontend_attach(struct dvb_usb_adapter *d)
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/media/dvb/frontends/cx24116.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,10 @@ static int cx24116_load_firmware (struct dvb_frontend* fe, const struct firmware
cmd.args[0x01] = 0x01;
cmd.args[0x02] = 0x75;
cmd.args[0x03] = 0x00;
cmd.args[0x04] = 0x02;
if (state->config->mpg_clk_pos_pol)
cmd.args[0x04] = state->config->mpg_clk_pos_pol;
else
cmd.args[0x04] = 0x02;
cmd.args[0x05] = 0x00;
cmd.len= 0x06;
ret = cx24116_cmd_execute(fe, &cmd);
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/dvb/frontends/cx24116.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ struct cx24116_config

/* Need to reset device during firmware loading */
int (*reset_device)(struct dvb_frontend* fe);

/* Need to set MPEG parameters */
u8 mpg_clk_pos_pol:0x02;
};

#if defined(CONFIG_DVB_CX24116) || defined(CONFIG_DVB_CX24116_MODULE)
Expand Down

0 comments on commit 7e2878e

Please sign in to comment.