From patchwork Fri Feb 21 04:48:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jeong X-Patchwork-Id: 3693631 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 302FCBF13A for ; Fri, 21 Feb 2014 04:48:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E424520179 for ; Fri, 21 Feb 2014 04:48:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11E2A20145 for ; Fri, 21 Feb 2014 04:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805AbaBUEsq (ORCPT ); Thu, 20 Feb 2014 23:48:46 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:63489 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752468AbaBUEsp (ORCPT ); Thu, 20 Feb 2014 23:48:45 -0500 Received: by mail-pa0-f48.google.com with SMTP id kx10so2921363pab.21 for ; Thu, 20 Feb 2014 20:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=C9IVKJYy1dy1bOZ2hCw8WXjwdk65vjbDUSJHQVz/q0Q=; b=CXRJZxPXFtodaVJFY4BS8hKT0h+hhnF6nwne4P37eqKeLz4MZZuTw6b6IDiBM7auKj ZP/aRosS26kiJUZrwL/zssXVtyEYrETRV5LmcSmg/0UAuYDXayjqALKpS6L4BNyCTa54 1H90GKsEzaWkv7jFmByE4eWroSXl42qME3Ww8jSCzTv2wHQ5wfZ3BMeU84BmwOz5IoiP 5kkfz7szhw2/RB6AN6t2QstJ6CQMYOf6/wpyxmsuskr7uM4Dd2Id/8V1C5KZ6XT5KhNv vkb9W+TUlDjCL26PPilCoOzs8br0RsEpGfDAHRkz54nCVImNp6MoLfQIaoDjWMEN59Sx B6eg== X-Received: by 10.68.133.163 with SMTP id pd3mr6673868pbb.166.1392958125014; Thu, 20 Feb 2014 20:48:45 -0800 (PST) Received: from localhost.localdomain ([211.36.141.239]) by mx.google.com with ESMTPSA id nz11sm40407651pab.6.2014.02.20.20.48.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 20:48:44 -0800 (PST) From: Daniel Jeong To: Mauro Carvalho Chehab , Sakari Ailus , Andy Shevchenko Cc: Hans Verkuil , Daniel Jeong , Subject: [RFC v5, 1/3] v4l2-controls.h: add addtional Flash fault bits Date: Fri, 21 Feb 2014 13:48:34 +0900 Message-Id: <1392958114-4542-1-git-send-email-gshark.jeong@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Same with v3 and v4. Signed-off-by: Daniel Jeong --- include/uapi/linux/v4l2-controls.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index 2cbe605..1d662f6 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -812,6 +812,9 @@ enum v4l2_flash_strobe_source { #define V4L2_FLASH_FAULT_SHORT_CIRCUIT (1 << 3) #define V4L2_FLASH_FAULT_OVER_CURRENT (1 << 4) #define V4L2_FLASH_FAULT_INDICATOR (1 << 5) +#define V4L2_FLASH_FAULT_UNDER_VOLTAGE (1 << 6) +#define V4L2_FLASH_FAULT_INPUT_VOLTAGE (1 << 7) +#define V4L2_FLASH_FAULT_LED_OVER_TEMPERATURE (1 << 8) #define V4L2_CID_FLASH_CHARGE (V4L2_CID_FLASH_CLASS_BASE + 11) #define V4L2_CID_FLASH_READY (V4L2_CID_FLASH_CLASS_BASE + 12)