From patchwork Thu Apr 18 16:58:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 2461701 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id A96B33FCA5 for ; Thu, 18 Apr 2013 17:02:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967741Ab3DRRBy (ORCPT ); Thu, 18 Apr 2013 13:01:54 -0400 Received: from mail-da0-f41.google.com ([209.85.210.41]:60226 "EHLO mail-da0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967692Ab3DRQ7R (ORCPT ); Thu, 18 Apr 2013 12:59:17 -0400 Received: by mail-da0-f41.google.com with SMTP id p8so1353318dan.28 for ; Thu, 18 Apr 2013 09:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=Jkhh249V+h+1pcK9cXgNDqcOM4W1VhWfp44bMem4PEY=; b=NNk9KAVTTvJdESyvMaWrEIwaVrw2UGcCc/zZRNBjqYfjccusq5VslNsdo4PzJmEZPb 3Ga4QPAskw8zZYH/3D+GhzDVaekcFmvr1fUhKaDIGwMmIimfQMdKq0qGb+i5Zn+r2xxh PNEmdkcTL7C4P/FN5bDJA/OAJjTvOnqVOvGWUdehD82mSBA1LeyV27XtTVM8AdNiGeBf lCdUeT/YTiPqsopZUGjD4wpmAktji09zSPf99UnB5m96uydbh/sVswObeEL/in2pB+ox i/eL2flsOQH5SvViy0nn5gK7jIl7HIi4r6eWaG1KdqxpEmeE6GMMFPrJK0jqes3pQA4s +QvA== X-Received: by 10.66.49.202 with SMTP id w10mr14018511pan.174.1366304356535; Thu, 18 Apr 2013 09:59:16 -0700 (PDT) Received: from charmander.workstations.synapsedev.com ([65.89.160.20]) by mx.google.com with ESMTPS id do4sm10491136pbc.8.2013.04.18.09.59.14 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 09:59:15 -0700 (PDT) From: Andrey Smirnov To: sameo@linux.intel.com Cc: mchehab@redhat.com, andrew.smirnov@gmail.com, hverkuil@xs4all.nl, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/12] v4l2: Add private controls base for SI476X Date: Thu, 18 Apr 2013 09:58:34 -0700 Message-Id: <1366304318-29620-9-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1366304318-29620-1-git-send-email-andrew.smirnov@gmail.com> References: <1366304318-29620-1-git-send-email-andrew.smirnov@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- 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 3e985be..22e5170 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. Total of 16 controls is reserved for that driver */ +#define V4L2_CID_USER_SI476X_BASE (V4L2_CID_USER_BASE + 0x1010) + /* MPEG-class control IDs */ #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)