diff options
author | Michael Büsch <m@bues.ch> | 2012-04-03 04:05:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-09 13:54:11 -0400 |
commit | a182fd8f7953be661f9c36c0f6436905d08395d3 (patch) | |
tree | 9239d79c5d85e43b49c8511005702a9a1ca25552 /drivers/media | |
parent | de2bec5e54307223c8973dff75162416abde80a9 (diff) |
[media] fc0011: Reduce number of retries
Now that i2c transfers are fixed, 3 retries are enough.
Signed-off-by: Michael Buesch <m@bues.ch>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/tuners/fc0011.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/fc0011.c b/drivers/media/common/tuners/fc0011.c index d43a5a29ed29..e4882546c283 100644 --- a/drivers/media/common/tuners/fc0011.c +++ b/drivers/media/common/tuners/fc0011.c | |||
@@ -314,7 +314,7 @@ static int fc0011_set_params(struct dvb_frontend *fe) | |||
314 | if (err) | 314 | if (err) |
315 | return err; | 315 | return err; |
316 | vco_retries = 0; | 316 | vco_retries = 0; |
317 | while (!(vco_cal & FC11_VCOCAL_OK) && vco_retries < 6) { | 317 | while (!(vco_cal & FC11_VCOCAL_OK) && vco_retries < 3) { |
318 | /* Reset the tuner and try again */ | 318 | /* Reset the tuner and try again */ |
319 | err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, | 319 | err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, |
320 | FC0011_FE_CALLBACK_RESET, priv->addr); | 320 | FC0011_FE_CALLBACK_RESET, priv->addr); |