diff mbox

[GIT,PATCHES,FOR,2.6.38] Use the control framework in various subdevs

Message ID 201101112132.28221.hverkuil@xs4all.nl (mailing list archive)
State RFC
Headers show

Commit Message

Hans Verkuil Jan. 11, 2011, 8:32 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index 598acfe..6beb270 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -1056,8 +1056,8 @@  static const struct v4l2_ctrl_config vivi_ctrl_int32 = {
 	.id = VIVI_CID_CUSTOM_BASE + 2,
 	.name = "Integer 32 Bits",
 	.type = V4L2_CTRL_TYPE_INTEGER,
-	.min = -2147483648,
-	.max = 2147483647,
+	.min = 0x80000000,
+	.max = 0x7f000000,
 	.step = 1,
 };