From: Jyrki Kuoppala <jkp@iki.fi>
To: linux-media@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH] Fix to qt1010 tuner frequency selection (media/dvb)
Date: Mon, 22 Aug 2011 20:19:42 +0300 [thread overview]
Message-ID: <4E528FAE.5060801@iki.fi> (raw)
The patch fixes frequency selection for some UHF frequencies e.g.
channel 32 (562 MHz) on the qt1010 tuner. The tuner is used e.g. in the
MSI Mega Sky dvb-t stick ("MSI Mega Sky 55801 DVB-T USB2.0")
One example of problem reports of the bug this fixes can be read at
http://www.freak-search.com/de/thread/330303/linux-dvb_tuning_problem_with_some_frequencies_qt1010,_dvb
Applies to kernel versions 2.6.38.8, 2.6.39.4, 3.0.3 and 3.1-rc2.
Signed-off-by: Jyrki Kuoppala <jkp@iki.fi>
diff -upr linux-source-2.6.38.orig/drivers/media/common/tuners/qt1010.c
linux-source-2.6.38/drivers/media/common/tuners/qt1010.c
--- linux-source-2.6.38.orig/drivers/media/common/tuners/qt1010.c
2011-03-15 03:20:32.000000000 +0200
+++ linux-source-2.6.38/drivers/media/common/tuners/qt1010.c
2011-08-21 23:16:38.209580365 +0300
@@ -198,9 +198,10 @@ static int qt1010_set_params(struct dvb_
/* 22 */
if (freq < 450000000) rd[15].val = 0xd0; /* 450 MHz */
- else if (freq < 482000000) rd[15].val = 0xd1; /* 482 MHz */
+ else if (freq < 482000000) rd[15].val = 0xd2; /* 482 MHz */
else if (freq < 514000000) rd[15].val = 0xd4; /* 514 MHz */
- else if (freq < 546000000) rd[15].val = 0xd7; /* 546 MHz */
+ else if (freq < 546000000) rd[15].val = 0xd6; /* 546 MHz */
+ else if (freq < 578000000) rd[15].val = 0xd8; /* 578 MHz */
else if (freq < 610000000) rd[15].val = 0xda; /* 610 MHz */
else rd[15].val = 0xd0;
next reply other threads:[~2011-08-22 17:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 17:19 Jyrki Kuoppala [this message]
2011-09-25 16:13 ` [PATCH] Fix to qt1010 tuner frequency selection (media/dvb) Carlos Corbacho
2011-09-25 16:37 ` Jyrki Kuoppala
2011-10-19 21:06 ` Carlos Corbacho
2011-10-20 4:45 ` Jyrki Kuoppala
2011-10-23 8:18 ` Carlos Corbacho
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=4E528FAE.5060801@iki.fi \
--to=jkp@iki.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.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.