All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Frank Schäfer" <fschaefer.oss@googlemail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 1/4] gspca_pac7302: correct register documentation
Date: Mon, 24 Sep 2012 16:17:02 +0200	[thread overview]
Message-ID: <50606B5E.8030002@redhat.com> (raw)
In-Reply-To: <1348406983-3451-1-git-send-email-fschaefer.oss@googlemail.com>

Hi,

On 09/23/2012 03:29 PM, Frank Schäfer wrote:
> R,G,B balance registers are 0x01-0x03 instead of 0x02-0x04,
> which lead to the wrong conclusion that values are inverted.
> Exposure is controlled via page 3 registers and this is already documented.
> Also fix a whitespace issue.
>
> Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>

Thanks, as discussed I've added the first 2 patches to my media tree and
they will be included in my next pull-req to Mauro.

Regards,

Hans



> ---
>   drivers/media/usb/gspca/pac7302.c |   11 +++++------
>   1 files changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/media/usb/gspca/pac7302.c b/drivers/media/usb/gspca/pac7302.c
> index 2d5c6d83..4894ac1 100644
> --- a/drivers/media/usb/gspca/pac7302.c
> +++ b/drivers/media/usb/gspca/pac7302.c
> @@ -29,14 +29,13 @@
>    * Register page 0:
>    *
>    * Address	Description
> - * 0x02		Red balance control
> - * 0x03		Green balance control
> - * 0x04 	Blue balance control
> - *		     Valus are inverted (0=max, 255=min).
> + * 0x01		Red balance control
> + * 0x02		Green balance control
> + * 0x03		Blue balance control
>    *		     The Windows driver uses a quadratic approach to map
>    *		     the settable values (0-200) on register values:
> - *		     min=0x80, default=0x40, max=0x20
> - * 0x0f-0x20	Colors, saturation and exposure control
> + *		     min=0x20, default=0x40, max=0x80
> + * 0x0f-0x20	Color and saturation control
>    * 0xa2-0xab	Brightness, contrast and gamma control
>    * 0xb6		Sharpness control (bits 0-4)
>    *
>

  parent reply	other threads:[~2012-09-24 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-23 13:29 [PATCH 1/4] gspca_pac7302: correct register documentation Frank Schäfer
2012-09-23 13:29 ` [PATCH 2/4] gspca_pac7302: use registers 0x01 and 0x03 for red and blue balance controls Frank Schäfer
2012-09-24 14:17 ` Hans de Goede [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-16 16:00 [PATCH 1/4] gspca_pac7302: correct register documentation Frank Schäfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50606B5E.8030002@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=fschaefer.oss@googlemail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.