diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-27 00:48:33 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 16:08:46 +0400 |
commit | 7e0722215a510921cbb73ab4c37477d4dcb91bf8 (patch) | |
tree | 0a5d1126bc488ccdeb54e8762aa89d5df48ae719 /drivers/media/dvb/pt1/va1j5jf8007t.c | |
parent | 5581e130ad288af745706c30de050bc2cf6e37b3 (diff) | |
download | linux-7e0722215a510921cbb73ab4c37477d4dcb91bf8.tar.xz |
[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/pt1/va1j5jf8007t.c')
-rw-r--r-- | drivers/media/dvb/pt1/va1j5jf8007t.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/pt1/va1j5jf8007t.c b/drivers/media/dvb/pt1/va1j5jf8007t.c index 0f085c3e571b..c64282002c5d 100644 --- a/drivers/media/dvb/pt1/va1j5jf8007t.c +++ b/drivers/media/dvb/pt1/va1j5jf8007t.c @@ -264,7 +264,7 @@ static int va1j5jf8007t_check_modulation(struct va1j5jf8007t_state *state, static int va1j5jf8007t_tune(struct dvb_frontend *fe, - struct dvb_frontend_parameters *params, + bool re_tune, unsigned int mode_flags, unsigned int *delay, fe_status_t *status) { @@ -274,7 +274,7 @@ va1j5jf8007t_tune(struct dvb_frontend *fe, state = fe->demodulator_priv; - if (params != NULL) + if (re_tune) state->tune_state = VA1J5JF8007T_SET_FREQUENCY; switch (state->tune_state) { |