From patchwork Tue Jan 11 20:32:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 472391 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0BKXDmD019227 for ; Tue, 11 Jan 2011 20:33:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754289Ab1AKUcx (ORCPT ); Tue, 11 Jan 2011 15:32:53 -0500 Received: from smtp-vbr2.xs4all.nl ([194.109.24.22]:1290 "EHLO smtp-vbr2.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754271Ab1AKUcv (ORCPT ); Tue, 11 Jan 2011 15:32:51 -0500 Received: from tschai.localnet (43.80-203-71.nextgentel.com [80.203.71.43]) (authenticated bits=0) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id p0BKWXEC086127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Jan 2011 21:32:34 +0100 (CET) (envelope-from hverkuil@xs4all.nl) From: Hans Verkuil To: Mauro Carvalho Chehab Subject: Re: [GIT PATCHES FOR 2.6.38] Use the control framework in various subdevs Date: Tue, 11 Jan 2011 21:32:28 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.37-tschai; KDE/4.4.5; x86_64; ; ) Cc: linux-media@vger.kernel.org, Andy Walls References: <201012311437.00074.hverkuil@xs4all.nl> <201101071144.55426.hverkuil@xs4all.nl> <4D2CD5A4.2040404@redhat.com> In-Reply-To: <4D2CD5A4.2040404@redhat.com> MIME-Version: 1.0 Message-Id: <201101112132.28221.hverkuil@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 11 Jan 2011 20:33:13 +0000 (UTC) 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, };