diff options
author | Mike Isely <isely@pobox.com> | 2007-01-19 21:09:47 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2007-01-19 21:09:47 -0600 |
commit | e35c602656fcea0704973c72c96f7f41ebd66d61 (patch) | |
tree | 70db43767c24bcee28befbf6a9d9b0834889352d /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h | |
parent | ac666ccc4bab1e73f11e2cc40f11d3797f8c9cff (diff) | |
download | mediapointer-dvb-s2-e35c602656fcea0704973c72c96f7f41ebd66d61.tar.gz mediapointer-dvb-s2-e35c602656fcea0704973c72c96f7f41ebd66d61.tar.bz2 |
pvrusb2: VIDIOC_G_TUNER cleanup
From: Mike Isely <isely@pobox.com>
Clean up use of VIDIOC_G_TUNER; we now correctly gather info from all
the I2C client modules. Also abide by V4L2_TUNER_CAP_LOW
appropriately.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h index 8ae874440..ab99bea88 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h @@ -45,12 +45,6 @@ #define PVR2_CVAL_INPUT_COMPOSITE 2 #define PVR2_CVAL_INPUT_RADIO 3 -/* Values that pvr2_hdw_get_signal_status() returns */ -#define PVR2_SIGNAL_OK 0x0001 -#define PVR2_SIGNAL_STEREO 0x0002 -#define PVR2_SIGNAL_SAP 0x0004 - - /* Subsystem definitions - these are various pieces that can be independently stopped / started. Usually you don't want to mess with this directly (let the driver handle things itself), but it is useful @@ -164,8 +158,11 @@ int pvr2_hdw_commit_ctl(struct pvr2_hdw *); /* Return name for this driver instance */ const char *pvr2_hdw_get_driver_name(struct pvr2_hdw *); -/* Return PVR2_SIGNAL_XXXX bit mask indicating signal status */ -unsigned int pvr2_hdw_get_signal_status(struct pvr2_hdw *); +/* Mark tuner status stale so that it will be re-fetched */ +void pvr2_hdw_execute_tuner_poll(struct pvr2_hdw *); + +/* Return information about the tuner */ +int pvr2_hdw_get_tuner_status(struct pvr2_hdw *,struct v4l2_tuner *); /* Query device and see if it thinks it is on a high-speed USB link */ int pvr2_hdw_is_hsm(struct pvr2_hdw *); |