diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 4 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 39d04d8644a8..fe290f2f4e14 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -40,8 +40,8 @@ | |||
40 | #define TV_MIN_FREQ 55250000L | 40 | #define TV_MIN_FREQ 55250000L |
41 | #define TV_MAX_FREQ 850000000L | 41 | #define TV_MAX_FREQ 850000000L |
42 | 42 | ||
43 | #define RADIO_MIN_FREQ 1392000L //87MHz | 43 | #define RADIO_MIN_FREQ 87000000L |
44 | #define RADIO_MAX_FREQ 1728000L //108MHz | 44 | #define RADIO_MAX_FREQ 108000000L |
45 | 45 | ||
46 | struct usb_device_id pvr2_device_table[] = { | 46 | struct usb_device_id pvr2_device_table[] = { |
47 | [PVR2_HDW_TYPE_29XXX] = { USB_DEVICE(0x2040, 0x2900) }, | 47 | [PVR2_HDW_TYPE_29XXX] = { USB_DEVICE(0x2040, 0x2900) }, |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c index ed4eed4d55c4..98731c4f7df4 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | |||
@@ -169,8 +169,6 @@ static void set_frequency(struct pvr2_hdw *hdw) | |||
169 | fv = hdw->freqVal; | 169 | fv = hdw->freqVal; |
170 | pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_freq(%lu)",fv); | 170 | pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_freq(%lu)",fv); |
171 | memset(&freq,0,sizeof(freq)); | 171 | memset(&freq,0,sizeof(freq)); |
172 | if (hdw->input_val == PVR2_CVAL_INPUT_TV) | ||
173 | fv /= 62500; | ||
174 | freq.frequency = fv; | 172 | freq.frequency = fv; |
175 | freq.tuner = 0; | 173 | freq.tuner = 0; |
176 | freq.type = (hdw->input_val == PVR2_CVAL_INPUT_RADIO) ? | 174 | freq.type = (hdw->input_val == PVR2_CVAL_INPUT_RADIO) ? |