summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2011-02-13 17:34:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:32:22 -0300
commit35fa5d4c48fbb02d637c3659f00331aa33f0f029 (patch)
tree8a94c55b66423cce22f561d5d60aad3265ec86a0 /drivers/media/video/pvrusb2
parent4cfe3319a11613690c3cd755b890149d0532c833 (diff)
downloadlinux-35fa5d4c48fbb02d637c3659f00331aa33f0f029.tar.gz
linux-35fa5d4c48fbb02d637c3659f00331aa33f0f029.tar.bz2
linux-35fa5d4c48fbb02d637c3659f00331aa33f0f029.zip
[media] pvrusb2: Fix a few missing default control values, for cropping
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index f83e5cf3967f..5e6437dd91df 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -1114,6 +1114,7 @@ static const struct pvr2_ctl_info control_defs[] = {
.internal_id = PVR2_CID_CROPW,
.default_value = 720,
DEFREF(cropw),
+ DEFINT(0, 864),
.get_max_value = ctrl_cropw_max_get,
.get_def_value = ctrl_get_cropcapdw,
}, {
@@ -1122,6 +1123,7 @@ static const struct pvr2_ctl_info control_defs[] = {
.internal_id = PVR2_CID_CROPH,
.default_value = 480,
DEFREF(croph),
+ DEFINT(0, 576),
.get_max_value = ctrl_croph_max_get,
.get_def_value = ctrl_get_cropcapdh,
}, {