diff options
author | Mike Isely <isely@pobox.com> | 2006-12-27 20:21:34 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-12-27 20:21:34 -0600 |
commit | 77e758267d723a03a29b9bb5fd3a4c8456af6e62 (patch) | |
tree | 320518a9e784d0351f8187deff1c6c4ce0afdb19 /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | |
parent | 9b5392b7df5610270f040c693a77a2ddb6c8f061 (diff) | |
download | mediapointer-dvb-s2-77e758267d723a03a29b9bb5fd3a4c8456af6e62.tar.gz mediapointer-dvb-s2-77e758267d723a03a29b9bb5fd3a4c8456af6e62.tar.bz2 |
pvrusb2: Fix tuner frequency calculation
From: Mike Isely <isely@pobox.com>
A conversion from Hz to V4L frequency units was accidentally removed
by an earlier change. Restore it.
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, 1 insertions, 1 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 8d66ab144..c0920835d 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c @@ -146,7 +146,7 @@ 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)); - freq.frequency = fv; + freq.frequency = fv / 62500; freq.tuner = 0; freq.type = (hdw->input_val == PVR2_CVAL_INPUT_RADIO) ? V4L2_TUNER_RADIO : V4L2_TUNER_ANALOG_TV; |