Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2387871lqp; Sun, 24 Mar 2024 17:12:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQ98XMyb5B/CHJ3VEZR1a+dxcSlwYa3otXI2PDBQOXQf+iQTzI1AZOE330hRbwx2/2Gg20YZVWmZ8xlBnCt0wKzT5QXyJ50DwP5ef0YQ== X-Google-Smtp-Source: AGHT+IGBs+Arozq3Pf2ac37+unNKY++grQ2jzBLmOaOFck63ijDvxIO++aJN8I3Ra+fEw6JFbBoo X-Received: by 2002:a9d:7490:0:b0:6e6:7561:c16 with SMTP id t16-20020a9d7490000000b006e675610c16mr6088131otk.0.1711325530036; Sun, 24 Mar 2024 17:12:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711325529; cv=pass; d=google.com; s=arc-20160816; b=HXmbUdaLjB1wTYrV/YtNqUle9Xuh+qYD6LuAESzVf65g5ul9gohhrI+80o4wzS1Qa8 +ydKD/OQ/Re/cbg7HQYUDs/jDZbn37RbipyNlaen7ZrcX+CPg55mgVEw7qSwh7EK82uT NatMW1j0PndEYthNrQSoOLjdOKCxjIbHXard5mNk1KM2IwUY6SyEM21m8Mp3M/ONef8X APrzjQL2xZvm7zfjzD0v1ZG35OA/ViM4aFnKjmigNSKUf4PRkpwfhmFGgMJcKMZTdeKa SQFpexb3PuPQ3TAyWeuqu3bfnpbVn1SYh5qbEXeJZR1C+LqOepqD8h5P6gESRC+rhSeK ixeQ== 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=VrsCXpV3VS2qB+9ZYUbY32Rfqr1EWUo/FNhO0S28jDk=; fh=qPC/o307FcKMX9e48ELEOR3WX9/nitAnIX4Zc73R9i4=; b=G4nb7A9K8wA/xIHksSJZVqmPZWHPrA8bIyo7k7u9h9D1xRUKQMes5F8Z7w3LjpgN0S GKUtl8ACmZkLTE6UfY1OkGxQODzbof1zMMTh0WJ0MO/ickMs3UrYqrDZNfjtcDUPCNM6 ZBehNM8OUUwA8zUY0TSEqaM1wEJsJV2ymYRWJYWIvpp6ZSdi1qxg/419ZdL17qEGvHpP anUraKSyFmP7JvjhClX4KZnS5naOrZnJwfDL7VjCNTama5m/oohT/pvNERHOFFlQc62y 0gS+1DYb9BrJQtHgYvzWxNeptGVJs/S/QeazIPFSrjp0mvUIZ/uC588hOpAgb1UjbB9m iiEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ix5E9tan; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113327-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113327-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 r18-20020a63d912000000b005cf60fc5fc9si6228492pgg.274.2024.03.24.17.12.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:12:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113327-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=Ix5E9tan; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113327-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113327-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 588BD280E7D for ; Mon, 25 Mar 2024 00:10:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C23C71959AE; Sun, 24 Mar 2024 22:42:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ix5E9tan" 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 CE79A19598E; Sun, 24 Mar 2024 22:42:08 +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=1711320128; cv=none; b=YPXboBy1w9Nk4hqvZLTYUI/FXJjRDc3eSfK0WKFnREAi2hDhFkdnbxY7hQwIDQDVQkBeZzAH/e6auOzjkH3ysK4BHQzthmxGnNKB9rs0b1gpzApukZ/890pcNmvJRLC/yssEAb+Wbzcsv5zCAWgDYY8+Ul8KCHyajq3u5s2ZN8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320128; c=relaxed/simple; bh=zDxp0X0bOAEC9vzerTtKQqP0T4Kf9x+qIRrMhp7/2mE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iB56AzCl2JxzWj4mwWjjcZzuPxMD49wh1/JtQwncVdzMC1CIaqi4oKrlkKksG13J9uBrE0IkaHWJ4aHDSqbLDw6vopJrrCQWKmoVWdImC3pt0UAN+XiTcz75zgWHlE6JmNMiR1WE5mEICpkklNE6kuW+USuFFOIpyD+8jzj6UYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ix5E9tan; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16161C433A6; Sun, 24 Mar 2024 22:42:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320128; bh=zDxp0X0bOAEC9vzerTtKQqP0T4Kf9x+qIRrMhp7/2mE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ix5E9tanjI+Iy6IQp8JsA1aLPgiXfZ8kittpALUKoYLFStAhIodOo0RaJzVUP4HpV Q4g7fRG+vYaFyAlOqJemPJX3SYjRT2aCuXriLdSrNIXKnd3OVLZuKkaHlCAeKN7IU8 EGJpujQkmmp0HNG0G5WDJ+ZO/0mXHfLyKC0MazogIWLbOtnY9ihOfH3NHThs/lABMW kOvuY06UuUPYxsug0dsicNwuJuYAfbrZIbQUwOllyLVfjlP+4/4aub7nMG34huc5VW 1f/WO/WJHl+wjXWOhj3syeD8JpFRHbYBk8S3cFZo10Ui8gA/rSouTfz4yxu/Qz6hrL tRBHnfk6mEvEA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jernej Skrabec , Hans Verkuil , Sasha Levin Subject: [PATCH 6.8 436/715] media: sun8i-di: Fix chroma difference threshold Date: Sun, 24 Mar 2024 18:30:15 -0400 Message-ID: <20240324223455.1342824-437-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 5d58a5e781371..a1c35a2b68ed9 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