aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-17 22:30:52 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:03 -0500
commit3ac510e6097368695ddff20918ab5822823b548e (patch)
treec153a17236be18171b967713898d2bc326d28484 /drivers/media/video/tuner-xc2028.c
parent5e3c5967da48b54e5d4ee528b51b565e2f7a3178 (diff)
V4L/DVB (6858): Fix offset for ATSC
ATSC works with offset=0 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index 0565edd224bc..d367f205c98a 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -873,7 +873,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
873 */ 873 */
874 if (new_mode == T_ANALOG_TV) { 874 if (new_mode == T_ANALOG_TV) {
875 rc = send_seq(priv, {0x00, 0x00}); 875 rc = send_seq(priv, {0x00, 0x00});
876 } else { 876 } else if (!(priv->cur_fw.type & ATSC)) {
877 offset = 2750000; 877 offset = 2750000;
878 /* 878 /*
879 * We must adjust the offset by 500kHz in two cases in order 879 * We must adjust the offset by 500kHz in two cases in order