mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: mchehab@redhat.com, sameo@linux.intel.com, perex@perex.cz,
	tiwai@suse.de, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 7/8] v4l2: Add private controls base for SI476X
Date: Tue, 26 Feb 2013 09:07:24 +0100	[thread overview]
Message-ID: <201302260907.24281.hverkuil@xs4all.nl> (raw)
In-Reply-To: <1361860734-21666-8-git-send-email-andrew.smirnov@gmail.com>

On Tue February 26 2013 07:38:53 Andrey Smirnov wrote:
> Add a base to be used for allocation of all the SI476X specific
> controls in the corresponding driver.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  include/uapi/linux/v4l2-controls.h |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
> index 296d20e..133703d 100644
> --- a/include/uapi/linux/v4l2-controls.h
> +++ b/include/uapi/linux/v4l2-controls.h
> @@ -147,6 +147,10 @@ enum v4l2_colorfx {
>   * of controls. We reserve 16 controls for this driver. */
>  #define V4L2_CID_USER_MEYE_BASE			(V4L2_CID_USER_BASE + 0x1000)
>  
> +/* The base for the si476x driver controls. See include/media/si476x.h for the list
> + * of controls. */
> +#define V4L2_CID_USER_SI476X_BASE		(V4L2_CID_USER_BASE + 0x2000)

Please make this consecutive to MEYE_BASE, so '+ 0x1010'. That makes it easy
to keep track of these control ranges.

Regards,

	Hans

> +
>  /* MPEG-class control IDs */
>  
>  #define V4L2_CID_MPEG_BASE 			(V4L2_CTRL_CLASS_MPEG | 0x900)
> 

  reply	other threads:[~2013-02-26  8:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26  6:38 [PATCH v5 0/8] Driver for Si476x series of chips Andrey Smirnov
2013-02-26  6:38 ` [PATCH v5 1/8] mfd: Add header files and Kbuild plumbing for SI476x MFD core Andrey Smirnov
2013-02-26  6:38 ` [PATCH v5 2/8] mfd: Add commands abstraction layer for SI476X MFD Andrey Smirnov
2013-02-26  6:38 ` [PATCH v5 3/8] mfd: Add the main bulk of core driver for SI476x code Andrey Smirnov
2013-02-26  6:38 ` [PATCH v5 4/8] mfd: Add chip properties handling code for SI476X MFD Andrey Smirnov
2013-02-26  6:38 ` [PATCH v5 5/8] v4l2: Add standard controls for FM receivers Andrey Smirnov
2013-02-26  8:00   ` Hans Verkuil
2013-02-26  6:38 ` [PATCH v5 6/8] v4l2: Add documentation for the FM RX controls Andrey Smirnov
2013-02-26  8:06   ` Hans Verkuil
2013-02-26  6:38 ` [PATCH v5 7/8] v4l2: Add private controls base for SI476X Andrey Smirnov
2013-02-26  8:07   ` Hans Verkuil [this message]
2013-02-26  6:38 ` [PATCH v5 8/8] v4l2: Add a V4L2 driver for SI476X MFD Andrey Smirnov
2013-02-26  8:25   ` Hans Verkuil
2013-02-26 16:03     ` Andrey Smirnov
2013-02-26  8:30 ` [PATCH v5 0/8] Driver for Si476x series of chips Hans Verkuil

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=201302260907.24281.hverkuil@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=andrew.smirnov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=perex@perex.cz \
    --cc=sameo@linux.intel.com \
    --cc=tiwai@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®