Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29874
b: refs/heads/master
c: 3d04366
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 71db031 commit 7512db3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 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: 8f611b87f437703b95b725afe0388e4fb9cd6587
refs/heads/master: 3d043661064b37f54e8123d17b436aea05da19d6
25 changes: 1 addition & 24 deletions trunk/drivers/media/dvb/bt8xx/dvb-bt8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,30 +568,7 @@ static struct mt352_config digitv_alps_tded4_config = {
static int tdvs_tua6034_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params)
{
struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *) fe->dvb->priv;
u8 buf[4];
struct i2c_msg msg = { .addr = 0x61, .flags = 0, .buf = buf, .len = sizeof(buf) };
int err;

dvb_pll_configure(&dvb_pll_tdvs_tua6034, buf, params->frequency, 0);
dprintk("%s: tuner at 0x%02x bytes: 0x%02x 0x%02x 0x%02x 0x%02x\n",
__FUNCTION__, msg.addr, buf[0],buf[1],buf[2],buf[3]);
if ((err = i2c_transfer(card->i2c_adapter, &msg, 1)) != 1) {
printk(KERN_WARNING "dvb-bt8xx: %s error "
"(addr %02x <- %02x, err = %i)\n",
__FUNCTION__, buf[0], buf[1], err);
if (err < 0)
return err;
else
return -EREMOTEIO;
}

/* Set the Auxiliary Byte. */
buf[2] &= ~0x20;
buf[2] |= 0x18;
buf[3] = 0x50;
i2c_transfer(card->i2c_adapter, &msg, 1);

return 0;
return lg_h06xf_pll_set(fe, card->i2c_adapter, params);
}

static struct lgdt330x_config tdvs_tua6034_config = {
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/bt8xx/dvb-bt8xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "cx24110.h"
#include "or51211.h"
#include "lgdt330x.h"
#include "fe_lgh06xf.h"
#include "zl10353.h"

struct dvb_bt8xx_card {
Expand Down

0 comments on commit 7512db3

Please sign in to comment.