diff options
author | Mike Isely <isely@pobox.com> | 2006-12-27 20:30:13 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-12-27 20:30:13 -0600 |
commit | 0d7a4a46dba7d2aad9ee2658ebe6411ecdc0a073 (patch) | |
tree | 73ad56e3ae4ca6177f9fe8428c8d48c69b43e961 /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c | |
parent | 77e20d6a82bf9fddc65869883b6a5b4c54e75ec2 (diff) | |
download | mediapointer-dvb-s2-0d7a4a46dba7d2aad9ee2658ebe6411ecdc0a073.tar.gz mediapointer-dvb-s2-0d7a4a46dba7d2aad9ee2658ebe6411ecdc0a073.tar.bz2 |
pvrusb2: Better radio versus tv frequency handling
From: Mike Isely <isely@pobox.com>
Separate track radio versus tv frequency so that when we switch modes
we can also switch to a sane frequency appropriate for the mode. Also
implement logic to automate mode switching in certain cases.
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 c885a9c25..a6a9e4142 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c @@ -143,7 +143,7 @@ static void set_frequency(struct pvr2_hdw *hdw) { unsigned long fv; struct v4l2_frequency freq; - fv = hdw->freqVal; + fv = pvr2_hdw_get_cur_freq(hdw); pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_freq(%lu)",fv); memset(&freq,0,sizeof(freq)); if (hdw->input_val == PVR2_CVAL_INPUT_RADIO) { |