summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-12-27 20:13:53 -0600
committerMike Isely <isely@pobox.com>2006-12-27 20:13:53 -0600
commit1ff20da19cb8cd963b950854141f6aa51edbb130 (patch)
tree0822d9042f9df71eb904396ad355cb75e0a7161c /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
parentb6c80cd9279f392397572d7b8bede739f59dbb33 (diff)
downloadmediapointer-dvb-s2-1ff20da19cb8cd963b950854141f6aa51edbb130.tar.gz
mediapointer-dvb-s2-1ff20da19cb8cd963b950854141f6aa51edbb130.tar.bz2
pvrusb2: Make units uniform when tracking tuning frequency
From: Mike Isely <isely@pobox.com> The initial radio implementation used different units for tuning when in radio mode. This changes everything to Hz. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
index ed4eed4d5..98731c4f7 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
@@ -169,8 +169,6 @@ static void set_frequency(struct pvr2_hdw *hdw)
fv = hdw->freqVal;
pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_freq(%lu)",fv);
memset(&freq,0,sizeof(freq));
- if (hdw->input_val == PVR2_CVAL_INPUT_TV)
- fv /= 62500;
freq.frequency = fv;
freq.tuner = 0;
freq.type = (hdw->input_val == PVR2_CVAL_INPUT_RADIO) ?