Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9092086pxu; Mon, 28 Dec 2020 06:26:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0GscbsJE07fgvhJ/e0cG7269phfembqH0fbGdRat1Cm0xawGbuNNyjcfDpPqF7FxXZkCK X-Received: by 2002:a50:d50a:: with SMTP id u10mr41839268edi.58.1609165606247; Mon, 28 Dec 2020 06:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165606; cv=none; d=google.com; s=arc-20160816; b=QjSjG3S6jTkiwqsS1vQAIn0yBGnV5lTvIVtDGeqinOh2N/ppilM+FPukoG44/8RctJ sI5hA1h9j/CzLwIxhPoC5ZrYeuAZ5z4E+6Nnaop35C+6OHav7o6H0icXBVDcxIUbuGz6 UpwbaBDYybq48Q9DktzH6fyy/q3+lOURxii1KM6E6k94nkTdRqekPi+LY9NZgsiCuUMU ULX+OQyD0ZyUC8aqLJlcTefxzmiTo0NaDrN4xbDOI06SWPp2wchJM8ry0lGDtiYNPzLQ z3ClW7FqF9Xpn3a0iStwAAJErPDya3rlrre190KAeWWeDzlPcAdxK16O/MDMUVSKodG/ Vtqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=d3Y3M4hK0p4EdxknlOKvVXCugoi+HrGi6WaW+dFHd1Q=; b=GKNsBbElGuMbJktQiJUWDouXCe0te+14FVXs5qa2R0ffF9Li+BNNclBwvWjjyJfr1s 81UIrOzHPvy09jsCSKQAn29lRqIiFmCxOtQHkdc3aXR8yL09SY79qzYBtq2trQjdcVUN K/vHwXVX2JQQuDRU/gFSgAz21o24UDUxEyWKwAlBAUt7Od+HCZE5Me1yoMRrmin54jsG MCc2+CxksHY9IJa1UJMslgiQCJB5wJHwjCh1XtrFV7FomcdY0IKn0pYq7B1S+pBKV4Hc nUlrRnUFfy41/GUZEVRsBzSyzdH0qogBs1g/iXfGpNBTGS+byYmPzPh0LiI+NMVlZHWF aa4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YK/z1N46"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si22608426edq.181.2020.12.28.06.26.23; Mon, 28 Dec 2020 06:26:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YK/z1N46"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503024AbgL1OYJ (ORCPT + 99 others); Mon, 28 Dec 2020 09:24:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:59798 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502985AbgL1OYE (ORCPT ); Mon, 28 Dec 2020 09:24:04 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id CCA95206D4; Mon, 28 Dec 2020 14:23:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165429; bh=eVpHb/0Ha3yjUHnrzVdsEZklN0TL3XpxRz27BA1gRzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YK/z1N46gtHbF3MIN0rIbb4ipHLNV1i0QMMV7Sea34dRpGKfvFBtTtUV+gmrrrxch e9H2S+4pF4ECMvkIs+Ikf0PtkGHK9XGRzUM2t7EukhK8yVwQZHJPmyQgcGeNhjJ8Fh KHDdjIL+mT+uM2iVZ5pqU6snxtRXSTeFIUNSedbc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sakari Ailus , Bingbu Cao , Andy Shevchenko , Laurent Pinchart , Mauro Carvalho Chehab Subject: [PATCH 5.10 528/717] media: ipu3-cio2: Make the field on subdev format V4L2_FIELD_NONE Date: Mon, 28 Dec 2020 13:48:46 +0100 Message-Id: <20201228125046.264417667@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sakari Ailus commit 219a8b9c04e54872f9a4d566633fb42f08bcbe2a upstream. The ipu3-cio2 doesn't make use of the field and this is reflected in V4L2 buffers as well as the try format. Do this in active format, too. Fixes: c2a6a07afe4a ("media: intel-ipu3: cio2: add new MIPI-CSI2 driver") Signed-off-by: Sakari Ailus Reviewed-by: Bingbu Cao Reviewed-by: Andy Shevchenko Reviewed-by: Laurent Pinchart Cc: stable@vger.kernel.org # v4.16 and up Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/pci/intel/ipu3/ipu3-cio2.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/media/pci/intel/ipu3/ipu3-cio2.c +++ b/drivers/media/pci/intel/ipu3/ipu3-cio2.c @@ -1286,6 +1286,7 @@ static int cio2_subdev_set_fmt(struct v4 fmt->format.width = min_t(u32, fmt->format.width, CIO2_IMAGE_MAX_WIDTH); fmt->format.height = min_t(u32, fmt->format.height, CIO2_IMAGE_MAX_LENGTH); + fmt->format.field = V4L2_FIELD_NONE; mutex_lock(&q->subdev_lock); *mbus = fmt->format;