Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6937667imm; Tue, 24 Jul 2018 05:53:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdkxSgKL7mO5goUZY4CEH7IIVPwZ0kWv4vU/7VRXRUmEL9VYtqgaprPjFy/Rv/nceat7DP2 X-Received: by 2002:a65:6455:: with SMTP id s21-v6mr15791683pgv.394.1532436833700; Tue, 24 Jul 2018 05:53:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532436833; cv=none; d=google.com; s=arc-20160816; b=BBdFNWndvrTWLtgjmE3o6dH3hWn3+aVd8DXdpAMFzhcwn+cOel+xG227An0gcVpxA5 pdnWw2JLqwxjVGh/9dKEG/ih8FpeyKpZsxLluPm0RD22zipGf2IDnf/sXVDrAAcKGywW rsUIwVUo2d5hvaJ9q1Fvlm2sAvm6W8YrZfeeqOb+IDCz/G68qqqpnPT9Hm4s0FstGasm FA5yCoRwt3enbbjJPZqEZ9qHD7wZXGDTnrTyqHwTEpZl8Q+KmrjDRv4bqu57XR1AZYur DyYe/KCxucSfzFxTGQ6tveLpTtSbG0wyOsncFS2va2HSydNhN8REawfR0r3y2iDkJXN9 SMqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=IfsLcU6FgCbdp2lw45Tg2lxBOHh8lJU8TwzXKsyCAfU=; b=c7T3HXhJQno5bt78nUi9zeZJCKKFHxDgypOTNXWqsOQndZMAQpoVMHpqMydDw0A8P5 cJQmk50sfKF2Rh+Wz79uCuH3ANOEnScUAZiENcxbRMuT+Kmr44aOJtmQWkaJ7daNycHn zZE8uA/AxKmJ9cdInqfxV9+xnzWAGLHeJxn8VxhwGtbrdfT4/mg1sQN9GZ7KPlefSLoB PY1JaOG9m+b6HyQR1uN70ufNFLJvaNclSosnt2Tidz5wuTB0wGTRo/lJrhVjbliSdF5U JF2hkwaZA4O3X/5Y416H5DjzIGnQ40mhUKD/pviV+txNgV4h4DSoAkivuTu0ajsXZs2Q ll3Q== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2-v6si10304340plh.136.2018.07.24.05.53.38; Tue, 24 Jul 2018 05:53:53 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727643AbeGXN7H (ORCPT + 99 others); Tue, 24 Jul 2018 09:59:07 -0400 Received: from mga11.intel.com ([192.55.52.93]:46252 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbeGXN7H (ORCPT ); Tue, 24 Jul 2018 09:59:07 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 05:52:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,398,1526367600"; d="scan'208";a="69811406" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga002.fm.intel.com with ESMTP; 24 Jul 2018 05:52:44 -0700 Received: by paasikivi.fi.intel.com (Postfix, from userid 1000) id 317FB203B0; Tue, 24 Jul 2018 15:52:44 +0300 (EEST) Date: Tue, 24 Jul 2018 15:52:44 +0300 From: Sakari Ailus To: Todor Tomov Cc: mchehab@kernel.org, hans.verkuil@cisco.com, laurent.pinchart+renesas@ideasonboard.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 35/35] media: v4l2-ioctl: Add format descriptions for packed Bayer raw14 pixel formats Message-ID: <20180724125243.jigwhde5rmifctyd@paasikivi.fi.intel.com> References: <1532343772-27382-1-git-send-email-todor.tomov@linaro.org> <1532343772-27382-36-git-send-email-todor.tomov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1532343772-27382-36-git-send-email-todor.tomov@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Todor, On Mon, Jul 23, 2018 at 02:02:52PM +0300, Todor Tomov wrote: > 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; You could merge this to the patch that adds the format definitions. Or: Acked-by: Sakari Ailus And preferrably move it to earlier in the patchset where new formats are added. -- Sakari Ailus sakari.ailus@linux.intel.com