summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-03-26 15:46:35 -0600
committerMike Isely <isely@pobox.com>2006-03-26 15:46:35 -0600
commitda1de2e42e2a5c0290c15edbbd4017176ff0b1c2 (patch)
tree65e600041207159f857085641ba2566fb3566dfc /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
parentf44c0bc49cbb5ee3bd7d89c602873840d40c8b25 (diff)
downloadmediapointer-dvb-s2-da1de2e42e2a5c0290c15edbbd4017176ff0b1c2.tar.gz
mediapointer-dvb-s2-da1de2e42e2a5c0290c15edbbd4017176ff0b1c2.tar.bz2
Propagate default control values out to V4L apps from within pvrusb2
From: Mike Isely <isely@pobox.com> When a V4L app queries a pvrusb2 control, make sure we also tell it what the control's default value is. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
index 6cc841b56..d7749138c 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h
@@ -224,6 +224,9 @@ int pvr2_hdw_get_ctl_min_value(struct pvr2_hdw *,unsigned int ctl_id);
/* Retrieve legal maximum value for a given control */
int pvr2_hdw_get_ctl_max_value(struct pvr2_hdw *,unsigned int ctl_id);
+/* Retrieve legal maximum value for a given control */
+int pvr2_hdw_get_ctl_default_value(struct pvr2_hdw *,unsigned int ctl_id);
+
/* Set current value for given control - this is just stored; the hardware
isn't updated until the commit function is called. */
int pvr2_hdw_set_ctl_value(struct pvr2_hdw *,unsigned int ctl_id,int value);