Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp640063imm; Thu, 5 Jul 2018 06:34:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf3bEjlFtYsjQ60jsdSmdbSqEbN1ISAICu2kirXRn+aQb+pjBId24LDL6jUNKUXf6n8kFlk X-Received: by 2002:a62:23d1:: with SMTP id q78-v6mr6404856pfj.179.1530797686578; Thu, 05 Jul 2018 06:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530797686; cv=none; d=google.com; s=arc-20160816; b=iad1IZPcUy+bUFhKyODYuWhVReBU3thfPxeD37U4qnCVPw5HbAb4uWz9xSa1VcO/kB bqih5ppv6m8b1ByAFx+JBp7d4Cf3G5os1flgKZKyAZssz3V2DBHbLstlMwN7fQjuYRq2 Bm+1piIHw3/3fwLUIpzxf9Bsn9pGe4/g4W7rEfz6ZnbhPwcJ4TRSpqO+9M8xef0kDxn8 XdJoSlHD0Y+cCjzC/Cq+OH1W2Rw0sDL8SX6kX2ybNdq8SlnW0bp5uicqOhYfMCyZcwt8 eGDfsDUbE742VsUxPF+scMud8WruaLQWV8f6fePUfDvqmknqXuww1eLp74I9NyMKNmuR 0B1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=JR/0eNeJR6DFOBO8F9Cz8lGD5obnURUHP5v8GpJRf0w=; b=IPZtwvqPiTjwW4VVKIpJGEEWAx3rA2lpTQ6ln7do4XRH9DUlGESYkgr0pOn9QDBaJ7 ff38jLeG2JrxDGLLQJNIY8Sc19UIYrrZt5k34aVX6zWYWiu9T3FO5eiQM8JB4jBzsTxc a+OaF6EoCstWyvd34sT/sZXEax5fYCk8nJqTD88QixlXR963Are7i9HL7/BZP8svCMFn Ym47jKAJh+BdVSi00774Ity7kEhtmOTsFNkw7LlIj1zzW+qd46E51flUA0qREt4TWqdm c2E0qs+Hz7yj6aKqcK20DpPVVsK9pRngwQ3HSRK+3rvda98KNiQcbAro/KQ8ZXRo0hOp rb7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si5963724plu.282.2018.07.05.06.34.32; Thu, 05 Jul 2018 06:34:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753942AbeGENd3 (ORCPT + 99 others); Thu, 5 Jul 2018 09:33:29 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:41379 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753859AbeGENdY (ORCPT ); Thu, 5 Jul 2018 09:33:24 -0400 Received: from mms-0439.qualcomm.mm-sol.com (unknown [37.157.136.206]) by extserv.mm-sol.com (Postfix) with ESMTPSA id 2B78FCD6A; Thu, 5 Jul 2018 16:33:18 +0300 (EEST) From: Todor Tomov To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, laurent.pinchart+renesas@ideasonboard.com, linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Todor Tomov Subject: [PATCH v2 34/34] media: v4l2-ioctl: Add format descriptions for packed Bayer raw14 pixel formats Date: Thu, 5 Jul 2018 16:33:05 +0300 Message-Id: <1530797585-8555-35-git-send-email-todor.tomov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530797585-8555-1-git-send-email-todor.tomov@linaro.org> References: <1530797585-8555-1-git-send-email-todor.tomov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This removes warning "Unknown pixelformat" for the following formats: V4L2_PIX_FMT_SBGGR14P V4L2_PIX_FMT_SGBRG14P V4L2_PIX_FMT_SGRBG14P V4L2_PIX_FMT_SRGGB14P CC: Sakari Ailus Signed-off-by: Todor Tomov --- drivers/media/v4l2-core/v4l2-ioctl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 2e3b1f0..e8f7c89 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c @@ -1260,6 +1260,10 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_PIX_FMT_SGBRG12P: descr = "12-bit Bayer GBGB/RGRG Packed"; break; case V4L2_PIX_FMT_SGRBG12P: descr = "12-bit Bayer GRGR/BGBG Packed"; break; case V4L2_PIX_FMT_SRGGB12P: descr = "12-bit Bayer RGRG/GBGB Packed"; break; + case V4L2_PIX_FMT_SBGGR14P: descr = "14-bit Bayer BGBG/GRGR Packed"; break; + case V4L2_PIX_FMT_SGBRG14P: descr = "14-bit Bayer GBGB/RGRG Packed"; break; + case V4L2_PIX_FMT_SGRBG14P: descr = "14-bit Bayer GRGR/BGBG Packed"; break; + case V4L2_PIX_FMT_SRGGB14P: descr = "14-bit Bayer RGRG/GBGB Packed"; break; case V4L2_PIX_FMT_SBGGR16: descr = "16-bit Bayer BGBG/GRGR"; break; case V4L2_PIX_FMT_SGBRG16: descr = "16-bit Bayer GBGB/RGRG"; break; case V4L2_PIX_FMT_SGRBG16: descr = "16-bit Bayer GRGR/BGBG"; break; -- 2.7.4