Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285579
b: refs/heads/master
c: 0009e0e
h: refs/heads/master
i:
  285577: 0634057
  285575: 5a842b4
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 31, 2011
1 parent 9b930e7 commit 337f473
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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: 59d3cc1975db3676da707ea7083dc7e15117409d
refs/heads/master: 0009e0e3e60b1e4e781e5bc5efd09b48cb397c7f
5 changes: 2 additions & 3 deletions trunk/drivers/media/dvb/dvb-usb/af9015.c
Original file line number Diff line number Diff line change
Expand Up @@ -1096,8 +1096,7 @@ static int af9015_rc_query(struct dvb_usb_device *d)
}

/* override demod callbacks for resource locking */
static int af9015_af9013_set_frontend(struct dvb_frontend *fe,
struct dvb_frontend_parameters *params)
static int af9015_af9013_set_frontend(struct dvb_frontend *fe)
{
int ret;
struct dvb_usb_adapter *adap = fe->dvb->priv;
Expand All @@ -1106,7 +1105,7 @@ static int af9015_af9013_set_frontend(struct dvb_frontend *fe,
if (mutex_lock_interruptible(&adap->dev->usb_mutex))
return -EAGAIN;

ret = priv->set_frontend[adap->id](fe, params);
ret = priv->set_frontend[adap->id](fe);

mutex_unlock(&adap->dev->usb_mutex);

Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/media/dvb/dvb-usb/af9015.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ struct af9015_state {
u8 rc_last[4];

/* for demod callback override */
int (*set_frontend[2]) (struct dvb_frontend *fe,
struct dvb_frontend_parameters *params);
int (*set_frontend[2]) (struct dvb_frontend *fe);
int (*read_status[2]) (struct dvb_frontend *fe, fe_status_t *status);
int (*init[2]) (struct dvb_frontend *fe);
int (*sleep[2]) (struct dvb_frontend *fe);
Expand Down

0 comments on commit 337f473

Please sign in to comment.