mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: x0130808@ti.com
To: linux-kernel@vger.kernel.org
Cc: Raja Mani <raja_mani@ti.com>, Pramodh AG <pramodh_ag@ti.com>,
	Manjunatha Halli <x0130808@ti.com>
Subject: [RFC/PATCH 6/9] drivers:media:video: Adding new CIDs for FM RX ctls
Date: Wed, 22 Sep 2010 07:48:36 -0400	[thread overview]
Message-ID: <1285156119-28531-7-git-send-email-x0130808@ti.com> (raw)
In-Reply-To: <1285156119-28531-6-git-send-email-x0130808@ti.com>

From: Raja Mani <raja_mani@ti.com>

Add support for the following new Control IDs (CID)
   V4L2_CID_RSSI_THRESHOLD - RSSI Threshold
   V4L2_CID_TUNE_AF        - Alternative Frequency

Signed-off-by: Raja Mani <raja_mani@ti.com>
Signed-off-by: Pramodh AG <pramodh_ag@ti.com>
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
---
 drivers/media/video/v4l2-common.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c
index 4e53b0b..5a8e528 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -520,6 +520,8 @@ const char *v4l2_ctrl_get_name(u32 id)
 	case V4L2_CID_TUNE_PREEMPHASIS:	return "Pre-emphasis settings";
 	case V4L2_CID_TUNE_POWER_LEVEL:		return "Tune Power Level";
 	case V4L2_CID_TUNE_ANTENNA_CAPACITOR:	return "Tune Antenna Capacitor";
+	case V4L2_CID_RSSI_THRESHOLD:	return "RSSI Threshold";
+	case V4L2_CID_TUNE_AF:		return "Alternative Frequency";
 
 	default:
 		return NULL;
@@ -585,6 +587,8 @@ int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 ste
 	case V4L2_CID_EXPOSURE_AUTO:
 	case V4L2_CID_COLORFX:
 	case V4L2_CID_TUNE_PREEMPHASIS:
+	case V4L2_CID_RSSI_THRESHOLD:
+	case V4L2_CID_TUNE_AF:
 		qctrl->type = V4L2_CTRL_TYPE_MENU;
 		step = 1;
 		break;
-- 
1.5.6.3


  reply	other threads:[~2010-09-22 10:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 11:48 [RFC/PATCH 0/9] V4L2 FM driver for TI WL127x and WL128x x0130808
2010-09-22 11:48 ` [RFC/PATCH 1/9] drivers:staging:ti-st: sources for FM common x0130808
2010-09-22 11:48   ` [RFC/PATCH 2/9] drivers:staging:ti-st: Sources for FM RX x0130808
2010-09-22 11:48     ` [RFC/PATCH 3/9] drivers:staging:ti-st: Sources for FM TX x0130808
2010-09-22 11:48       ` [RFC/PATCH 4/9] drivers:staging:ti-st: Sources for FM V4L2 interfaces x0130808
2010-09-22 11:48         ` [RFC/PATCH 5/9] drivers:staging:ti-st: Sources for FM common header x0130808
2010-09-22 11:48           ` x0130808 [this message]
2010-09-22 11:48             ` [RFC/PATCH 7/9] include:linux:videodev2: Define 2 new CIDs for FM RX x0130808
2010-09-22 11:48               ` [RFC/PATCH 8/9] Documentation:DocBook:v4l: Update the controls.xml x0130808
2010-09-22 11:48                 ` [RFC/PATCH 9/9] Staging:ti-st: Update Kconfig and Makefile for x0130808
2010-09-22 17:14                   ` Randy Dunlap

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=1285156119-28531-7-git-send-email-x0130808@ti.com \
    --to=x0130808@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pramodh_ag@ti.com \
    --cc=raja_mani@ti.com \
    /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®