From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/media/i2c/jx_h65.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/drivers/media/i2c/jx_h65.c b/kernel/drivers/media/i2c/jx_h65.c index b77e135..d4258d9 100644 --- a/kernel/drivers/media/i2c/jx_h65.c +++ b/kernel/drivers/media/i2c/jx_h65.c @@ -895,8 +895,7 @@ if (fie->index >= ARRAY_SIZE(supported_modes)) return -EINVAL; - if (fie->code != MEDIA_BUS_FMT_SBGGR10_1X10) - return -EINVAL; + fie->code = MEDIA_BUS_FMT_SBGGR10_1X10; fie->width = supported_modes[fie->index].width; fie->height = supported_modes[fie->index].height; -- Gitblit v1.6.2