Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44147
b: refs/heads/master
c: 22f3f17
h: refs/heads/master
i:
  44145: 88f25cb
  44143: 7f2b888
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Dec 10, 2006
1 parent 77b9bf7 commit 9cc7b31
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 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: ed35526027f3b45a7c799f73916166b1161bf082
refs/heads/master: 22f3f17dd705c476d2c8a2d879ddacaa8f9237e3
38 changes: 20 additions & 18 deletions trunk/drivers/media/video/cx88/cx88-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,26 @@ static struct videobuf_queue_ops dvb_qops = {
};

/* ------------------------------------------------------------------ */

static int cx88_dvb_bus_ctrl(struct dvb_frontend* fe, int acquire)
{
struct cx8802_dev *dev= fe->dvb->priv;
struct cx8802_driver *drv = NULL;
int ret = 0;

drv = cx8802_get_driver(dev, CX88_MPEG_DVB);
if (drv) {
if(acquire)
ret = drv->request_acquire(drv);
else
ret = drv->request_release(drv);
}

return ret;
}

/* ------------------------------------------------------------------ */

static int dvico_fusionhdtv_demod_init(struct dvb_frontend* fe)
{
static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x39 };
Expand Down Expand Up @@ -287,24 +307,6 @@ static struct cx22702_config hauppauge_hvr_config = {
.output_mode = CX22702_SERIAL_OUTPUT,
};

static int cx88_dvb_bus_ctrl(struct dvb_frontend* fe,
int acquire)
{
struct cx8802_dev *dev= fe->dvb->priv;
struct cx8802_driver *drv = NULL;
int ret = 0;

drv = cx8802_get_driver(dev, CX88_MPEG_DVB);
if (drv) {
if(acquire)
ret = drv->request_acquire(drv);
else
ret = drv->request_release(drv);
}

return ret;
}

static int or51132_set_ts_param(struct dvb_frontend* fe,
int is_punctured)
{
Expand Down

0 comments on commit 9cc7b31

Please sign in to comment.