From: "Jiří Pinkava" <j-pi@seznam.cz>
To: gennarone@gmail.com, m.chehab@samsung.com
Cc: mkrufky@linuxtv.org, linux-media@vger.kernel.org
Subject: [PATCH 1/2] [media] r820t: fix nint range check
Date: Sun, 29 Sep 2013 12:45:47 +0200 [thread overview]
Message-ID: <524804DB.7020108@seznam.cz> (raw)
In-Reply-To: <524804B3.9090505@seznam.cz>
Use full range of VCO parameters, fixes tunning for some frequencies.
---
drivers/media/tuners/r820t.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c
index 1c23666..e25c720 100644
--- a/drivers/media/tuners/r820t.c
+++ b/drivers/media/tuners/r820t.c
@@ -637,7 +637,7 @@ static int r820t_set_pll(struct r820t_priv *priv,
enum v4l2_tuner_type type,
vco_fra = pll_ref * 129 / 128;
}
- if (nint > 63) {
+ if (nint > 76) {
tuner_info("No valid PLL values for %u kHz!\n", freq);
return -EINVAL;
}
--
1.8.3.2
next prev parent reply other threads:[~2013-09-29 11:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-29 10:45 [PATCH 0/2] fix tunning for r820t tunner Jiří Pinkava
2013-09-29 10:45 ` Jiří Pinkava [this message]
2013-09-29 10:46 ` Subject: [PATCH 2/2] [media] r820t: simplify divisor calculation Jiří Pinkava
2013-09-30 15:13 ` Michael Krufky
2013-09-30 15:07 ` [PATCH 1/2] [media] r820t: fix nint range check Michael Krufky
2013-09-30 16:42 ` Jiří Pinkava
2013-09-30 16:46 ` Michael Krufky
2013-09-30 17:34 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=524804DB.7020108@seznam.cz \
--to=j-pi@seznam.cz \
--cc=gennarone@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=mkrufky@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.