aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/hdpvr/hdpvr.h
diff options
context:
space:
mode:
authorTaylor Ralph <taylor.ralph@gmail.com>2011-10-20 23:33:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-15 12:42:40 -0200
commit8423c0cf3a56cb83d09a84b5e2e37ca4c2920783 (patch)
tree2030cc6f61b8191e06ae0070b3bf9a65aeccdd9e /drivers/media/video/hdpvr/hdpvr.h
parent2e2ba5d1e26465fe188729e310e7928ddf3d9b3e (diff)
[media] hdpvr: update picture controls to support firmware versions > 0.15
Correctly sets the max/min/default values for the hdpvr picture controls. The reason the current values didn't cause a problem until now is because any firmware <= 0.15 didn't support them. The latest firmware releases properly support picture controls and the values in the patch are derived from the windows driver using SniffUSB2.0. Thanks to Devin Heitmueller for helping me. Signed-off-by: Taylor Ralph <tralph@mythtv.org> Thanks-to: Devin Heitmueller <dheitmueller@kernellabs.com> Acked-by: Jarod Wilson <jarod@redhat.com> Reviewed-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/hdpvr/hdpvr.h')
-rw-r--r--drivers/media/video/hdpvr/hdpvr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr.h b/drivers/media/video/hdpvr/hdpvr.h
index d6439db1d18b..fea3c6926997 100644
--- a/drivers/media/video/hdpvr/hdpvr.h
+++ b/drivers/media/video/hdpvr/hdpvr.h
@@ -113,6 +113,7 @@ struct hdpvr_device {
/* usb control transfer buffer and lock */
struct mutex usbc_mutex;
u8 *usbc_buf;
+ u8 fw_ver;
};
static inline struct hdpvr_device *to_hdpvr_dev(struct v4l2_device *v4l2_dev)