From patchwork Wed Mar 27 02:47:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 2347191 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 3E6C83FD40 for ; Wed, 27 Mar 2013 02:49:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754818Ab3C0CsM (ORCPT ); Tue, 26 Mar 2013 22:48:12 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:57652 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754737Ab3C0Crz (ORCPT ); Tue, 26 Mar 2013 22:47:55 -0400 Received: by mail-pa0-f42.google.com with SMTP id kq13so1295074pab.15 for ; Tue, 26 Mar 2013 19:47:55 -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=W064/Lnqb3SkP8gUebri65WrNUABavlLDUEvo9uvwhc5rrcWoUmO8fsLLla7byV+k0 cbPNoFc2/eU2jy8t3DjC8H0d48lHFRVXvJPAheb9wT9FucFv70vfxmPnpQ+DU9YT1Kdx ESXcD6aiUzmehf7VMyq/LFn4ne0k5dP0xj8B03Z36xN2mViPfNPIA1hVIC/9MY8JLmIM E4ogVMzVMNUr8jGg35uyyzeed5GwuFIbdkOhzYpUZnXyddu6nx50whp++bbCtu+UyLxG h2n/uzwSEGgOAcIHNUEZT9sM9K1drDyWATi4r//fvYV14n0MCkTyzESvBQeILu53Duj/ 5H+A== X-Received: by 10.66.159.193 with SMTP id xe1mr27121076pab.3.1364352475129; Tue, 26 Mar 2013 19:47:55 -0700 (PDT) Received: from localhost.localdomain (c-24-19-54-161.hsd1.wa.comcast.net. [24.19.54.161]) by mx.google.com with ESMTPS id gf1sm19616616pbc.24.2013.03.26.19.47.53 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Mar 2013 19:47:54 -0700 (PDT) From: Andrey Smirnov To: mchehab@redhat.com Cc: andrew.smirnov@gmail.com, hverkuil@xs4all.nl, sameo@linux.intel.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 8/9] v4l2: Add private controls base for SI476X Date: Tue, 26 Mar 2013 19:47:25 -0700 Message-Id: <1364352446-28572-9-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1364352446-28572-1-git-send-email-andrew.smirnov@gmail.com> References: <1364352446-28572-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)