diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2023-12-16 16:34:22 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-16 13:46:31 +0300 |
commit | 856525e8db272b0ce6d9c6e6c2eeb97892b485a6 (patch) | |
tree | b696fddb8cf5a1d9156851d0e83bd8b6469c86b5 | |
parent | cff104e33bad38f4b2c8d58816a7accfaa2879f9 (diff) | |
download | linux-856525e8db272b0ce6d9c6e6c2eeb97892b485a6.tar.xz |
media: sun8i-di: Fix chroma difference threshold
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 <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | drivers/media/platform/sunxi/sun8i-di/sun8i-di.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c b/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c index 5d58a5e78137..a1c35a2b68ed 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) |