lkml.org 
[lkml]   [2006]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/13] Fix maximum for the saturation and contrast controls.
    Date

    From: Hans Verkuil <hverkuil@xs4all.nl>
    Date: 1141009700 \-0300

    Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
    ---

    drivers/media/video/cx25840/cx25840-core.c | 4 ++--
    drivers/media/video/saa7115.c | 4 ++--
    2 files changed, 4 insertions(+), 4 deletions(-)

    diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
    index 08ffd1f..5588b9a 100644
    --- a/drivers/media/video/cx25840/cx25840-core.c
    +++ b/drivers/media/video/cx25840/cx25840-core.c
    @@ -567,7 +567,7 @@ static struct v4l2_queryctrl cx25840_qct
    .type = V4L2_CTRL_TYPE_INTEGER,
    .name = "Contrast",
    .minimum = 0,
    - .maximum = 255,
    + .maximum = 127,
    .step = 1,
    .default_value = 64,
    .flags = 0,
    @@ -576,7 +576,7 @@ static struct v4l2_queryctrl cx25840_qct
    .type = V4L2_CTRL_TYPE_INTEGER,
    .name = "Saturation",
    .minimum = 0,
    - .maximum = 255,
    + .maximum = 127,
    .step = 1,
    .default_value = 64,
    .flags = 0,
    diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c
    index 048d000..ffd87ce 100644
    --- a/drivers/media/video/saa7115.c
    +++ b/drivers/media/video/saa7115.c
    @@ -1027,7 +1027,7 @@ static struct v4l2_queryctrl saa7115_qct
    .type = V4L2_CTRL_TYPE_INTEGER,
    .name = "Contrast",
    .minimum = 0,
    - .maximum = 255,
    + .maximum = 127,
    .step = 1,
    .default_value = 64,
    .flags = 0,
    @@ -1036,7 +1036,7 @@ static struct v4l2_queryctrl saa7115_qct
    .type = V4L2_CTRL_TYPE_INTEGER,
    .name = "Saturation",
    .minimum = 0,
    - .maximum = 255,
    + .maximum = 127,
    .step = 1,
    .default_value = 64,
    .flags = 0,
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-01 16:05    [W:0.021 / U:30.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site