Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2490190lqp; Sun, 24 Mar 2024 23:18:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZFg/BqgW1/5TfY6LKYZU91t55LqF7fljFqGdBgtl8kSLl26SlnrvLJ82kk0hzQFECRTkhQofMhFrMQgqp7oy10E39w/hSBkCjLi4OwA== X-Google-Smtp-Source: AGHT+IH2hHXSvIplqGudi0IRLkhFQIHo2gD+zijjQ8fx1tmyDwFaCKCjfm9qPUkSItdECK3H9e54 X-Received: by 2002:a54:4713:0:b0:3c3:d385:5cb9 with SMTP id k19-20020a544713000000b003c3d3855cb9mr301238oik.27.1711347507017; Sun, 24 Mar 2024 23:18:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711347506; cv=pass; d=google.com; s=arc-20160816; b=aBb8DTB5UHgeJGabSmtbl8PF4VSYCD+bWa0wfmlQqMD9pZgOcivLWPoGrHfFzNQouQ J0p8zl9AoKRozhSrjQybmkO3f5SKX7K6CJFw2VpYLjzUgyF/EoCjjLStwexye+KdQK1s kkJCrKd+N0ZtXfXvR/Cxvc+8x7YCQS54hERw/yJQQfaSmWcVqeUgJ076ra+Ob+yyJ8rk f6ajmQhomlh7Hm6jZ2e4zYmvYVnTUl85k24nnLhTeSW+FWbNAmrm5mbRr1QEaQGug9Sn S5bhFvDL8gkOXl2vXBEgvvnBBZKjvFuMEnbt6YzHk+s+ijb1l0gPUgB9gFbV/BwJlHv2 BVOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JN5hOY2R39+7W2cWlOBE7VBNFgiTIxRfBMIIDp13NN8=; fh=qPC/o307FcKMX9e48ELEOR3WX9/nitAnIX4Zc73R9i4=; b=QzM7t02EZDGd84tIbyUHBl2mByxWirpfqhK0gEauqruyCirOkoGjv1rMNf7iv7v2S4 AQAG0DvZoBmGqicTb4Q14/nXsOAb5T5pD/jqYrFkeCxqueyZ4EBXXpPg0Y2dh73xreba N8xoTPKcGTpqLrl6ZYg9OwEvmC7FCkJ0vpHuDscYk9VtSUfj8wklTqy12bP45CH3FCC+ eYt3yqjz3QtZdL7Z4N543OPYww1SXwD0a0j6VIj4FVrKxxIQyfveiJWWhVJMjRJs6p54 p8RaNa4Q5IXHlgVDumOtv76BbB+mP9lVYqZo0Gs0J5yNWVB6eC7b18yVR676ZrZyKGvx 7tPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gqf0Xjky; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-114576-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-114576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v21-20020a634815000000b005dbf1fcc429si6977080pga.162.2024.03.24.23.18.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 23:18:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-114576-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gqf0Xjky; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-114576-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-114576-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A61E4285636 for ; Mon, 25 Mar 2024 06:18:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F58829ADE9; Sun, 24 Mar 2024 23:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gqf0Xjky" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85C301FDA0C; Sun, 24 Mar 2024 23:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322221; cv=none; b=DtDio9VTK9a7UfB/L1rfPS8SbVjxizJI/1i+rh8tDOGwoM1hndcIHjGLlbN/n376GnikOZ2J83Udi0L+9zgJ7MrpnSBNlYOBvZhg1K7urY2M1eJvznxY5gES8RtO9InKH1Gpef8dP3OdlRZe0wnP2OB/A0AMCN8RoZZ5GtrRwi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322221; c=relaxed/simple; bh=gGhgmXxRAxAdvCVBVHuyDRRwC8UBwSafBfP2Eaj0jJw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Euuwj+aFhF4gPlFL6zQ6O4fU7hBQzWJGg3bcHvQNFfWwZxMlPyIYQIca9eSwnbNklaNS+kU2Ablu0DN6jJ+9u2VvVRmoD19GKsMeQ+5q+2C/e0gVCvgZb8bmpb0zgVySZi/oHQbaVbDBmrkYwFCJw/a4RYaD+ydk4B4RSO0Eavs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gqf0Xjky; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BD51C433F1; Sun, 24 Mar 2024 23:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322220; bh=gGhgmXxRAxAdvCVBVHuyDRRwC8UBwSafBfP2Eaj0jJw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gqf0XjkylPjI6lxtkgIZ++Ij4zX4/mL3PyI66LUxWzjLtmokjAkulIIjWwYS912TK Tnfg1qU7lLrXeyAP+zpHZ1oMrNuIhLpTiRn+JDkXUDfhzHpxnNzSxESjKYEH1GLfK7 wS7kSvO77I/SU9iY3cwkdpInxV1TjnYTCC2U5fYbUbQV+q/XpQ/yxRnk+LW1O04OSl 5ZJiFwiIPzL8DRygemo2YoMxNrdHrVESA9twO7AWewGJhzPEFc84FNGrzItw69OOFh uMBnZJHaUPr557UhJXvbyb/Q6ucoGCgCLjtsoHtQf3JnHtyxcaKib4m9eaB4xaCE/J FYcw2hVBjAqJA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jernej Skrabec , Hans Verkuil , Sasha Levin Subject: [PATCH 6.1 300/451] media: sun8i-di: Fix chroma difference threshold Date: Sun, 24 Mar 2024 19:09:36 -0400 Message-ID: <20240324231207.1351418-301-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Jernej Skrabec [ Upstream commit 856525e8db272b0ce6d9c6e6c2eeb97892b485a6 ] While there is no good explanation what this value does, vendor driver uses value 31 for it. Align driver with it. Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver") Signed-off-by: Jernej Skrabec Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- drivers/media/platform/sunxi/sun8i-di/sun8i-di.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c b/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c index 01b44dd708bd3..7a2f558c981db 100644 --- a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c +++ b/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c @@ -304,7 +304,7 @@ static void deinterlace_init(struct deinterlace_dev *dev) deinterlace_clr_set_bits(dev, DEINTERLACE_CHROMA_DIFF, DEINTERLACE_CHROMA_DIFF_TH_MSK, - DEINTERLACE_CHROMA_DIFF_TH(5)); + DEINTERLACE_CHROMA_DIFF_TH(31)); } static inline struct deinterlace_ctx *deinterlace_file2ctx(struct file *file) -- 2.43.0