Browse Source

[media] r820t: Fix IF scale

Scale used at get_if_freq and LO freq calculus is Hz.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
Mauro Carvalho Chehab 12 years ago
parent
commit
f60f5bcbe4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/tuners/r820t.c

+ 1 - 1
drivers/media/tuners/r820t.c

@@ -975,7 +975,7 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
 			return rc;
 		msleep(1);
 	}
-	priv->int_freq = if_khz;
+	priv->int_freq = if_khz * 1000;
 
 	/* Check if standard changed. If so, filter calibration is needed */
 	if (type != priv->type)