aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cx24123.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/cx24123.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/cx24123.c')
-rw-r--r--drivers/media/dvb/frontends/cx24123.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/cx24123.c b/drivers/media/dvb/frontends/cx24123.c
index a8af0bd20d77..faafb1fc6c05 100644
--- a/drivers/media/dvb/frontends/cx24123.c
+++ b/drivers/media/dvb/frontends/cx24123.c
@@ -1006,14 +1006,14 @@ static int cx24123_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone)
1006} 1006}
1007 1007
1008static int cx24123_tune(struct dvb_frontend *fe, 1008static int cx24123_tune(struct dvb_frontend *fe,
1009 struct dvb_frontend_parameters *params, 1009 bool re_tune,
1010 unsigned int mode_flags, 1010 unsigned int mode_flags,
1011 unsigned int *delay, 1011 unsigned int *delay,
1012 fe_status_t *status) 1012 fe_status_t *status)
1013{ 1013{
1014 int retval = 0; 1014 int retval = 0;
1015 1015
1016 if (params != NULL) 1016 if (re_tune)
1017 retval = cx24123_set_frontend(fe); 1017 retval = cx24123_set_frontend(fe);
1018 1018
1019 if (!(mode_flags & FE_TUNE_MODE_ONESHOT)) 1019 if (!(mode_flags & FE_TUNE_MODE_ONESHOT))