aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2011-02-13 15:34:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:22 -0400
commit35fa5d4c48fbb02d637c3659f00331aa33f0f029 (patch)
tree8a94c55b66423cce22f561d5d60aad3265ec86a0
parent4cfe3319a11613690c3cd755b890149d0532c833 (diff)
[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>
-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[] = {
1114 .internal_id = PVR2_CID_CROPW, 1114 .internal_id = PVR2_CID_CROPW,
1115 .default_value = 720, 1115 .default_value = 720,
1116 DEFREF(cropw), 1116 DEFREF(cropw),
1117 DEFINT(0, 864),
1117 .get_max_value = ctrl_cropw_max_get, 1118 .get_max_value = ctrl_cropw_max_get,
1118 .get_def_value = ctrl_get_cropcapdw, 1119 .get_def_value = ctrl_get_cropcapdw,
1119 }, { 1120 }, {
@@ -1122,6 +1123,7 @@ static const struct pvr2_ctl_info control_defs[] = {
1122 .internal_id = PVR2_CID_CROPH, 1123 .internal_id = PVR2_CID_CROPH,
1123 .default_value = 480, 1124 .default_value = 480,
1124 DEFREF(croph), 1125 DEFREF(croph),
1126 DEFINT(0, 576),
1125 .get_max_value = ctrl_croph_max_get, 1127 .get_max_value = ctrl_croph_max_get,
1126 .get_def_value = ctrl_get_cropcapdh, 1128 .get_def_value = ctrl_get_cropcapdh,
1127 }, { 1129 }, {