aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cx24116.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-26 15:48:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 07:08:46 -0500
commit7e0722215a510921cbb73ab4c37477d4dcb91bf8 (patch)
tree0a5d1126bc488ccdeb54e8762aa89d5df48ae719 /drivers/media/dvb/frontends/cx24116.c
parent5581e130ad288af745706c30de050bc2cf6e37b3 (diff)
[media] dvb-core: Don't pass DVBv3 parameters on tune() fops
As all parameters are passed via DVBv5 to the frontends, there's no need to pass them again via fops. Also, most drivers weren't using it anyway. So, instead, just pass a parameter to indicate if the hardware algorithm wants the driver to re-tune or not. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/cx24116.c')
-rw-r--r--drivers/media/dvb/frontends/cx24116.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/cx24116.c b/drivers/media/dvb/frontends/cx24116.c
index f24819a04b0..e29de1ca985 100644
--- a/drivers/media/dvb/frontends/cx24116.c
+++ b/drivers/media/dvb/frontends/cx24116.c
@@ -1440,7 +1440,7 @@ tuned: /* Set/Reset B/W */
1440 return cx24116_cmd_execute(fe, &cmd); 1440 return cx24116_cmd_execute(fe, &cmd);
1441} 1441}
1442 1442
1443static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, 1443static int cx24116_tune(struct dvb_frontend *fe, bool re_tune,
1444 unsigned int mode_flags, unsigned int *delay, fe_status_t *status) 1444 unsigned int mode_flags, unsigned int *delay, fe_status_t *status)
1445{ 1445{
1446 /* 1446 /*
@@ -1452,7 +1452,7 @@ static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters
1452 */ 1452 */
1453 1453
1454 *delay = HZ / 5; 1454 *delay = HZ / 5;
1455 if (params) { 1455 if (re_tune) {
1456 int ret = cx24116_set_frontend(fe); 1456 int ret = cx24116_set_frontend(fe);
1457 if (ret) 1457 if (ret)
1458 return ret; 1458 return ret;