summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-18 01:30:52 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-18 01:30:52 -0200
commit3842afc175a16c86d1f3b719f07a3bfddf3c7815 (patch)
treec9a7f5830c6215292083f116fe318b1ac10222f6 /linux
parenta21eb25fa965ec74b9d187d2bf1758570df34b6b (diff)
downloadmediapointer-dvb-s2-3842afc175a16c86d1f3b719f07a3bfddf3c7815.tar.gz
mediapointer-dvb-s2-3842afc175a16c86d1f3b719f07a3bfddf3c7815.tar.bz2
Fix offset for ATSC
From: Mauro Carvalho Chehab <mchehab@infradead.org> ATSC works with offset=0 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c
index 0dbb648ae..133ab1cfe 100644
--- a/linux/drivers/media/video/tuner-xc2028.c
+++ b/linux/drivers/media/video/tuner-xc2028.c
@@ -888,7 +888,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
*/
if (new_mode == T_ANALOG_TV) {
rc = send_seq(priv, {0x00, 0x00});
- } else {
+ } else if (!(priv->cur_fw.type & ATSC)) {
offset = 2750000;
/*
* We must adjust the offset by 500kHz in two cases in order