diff options
author | Mike Isely <isely@pobox.com> | 2006-12-27 20:13:53 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-12-27 20:13:53 -0600 |
commit | 1ff20da19cb8cd963b950854141f6aa51edbb130 (patch) | |
tree | 0822d9042f9df71eb904396ad355cb75e0a7161c /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | |
parent | b6c80cd9279f392397572d7b8bede739f59dbb33 (diff) | |
download | mediapointer-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.c | 2 |
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) ? |