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/ov2735.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/kernel/drivers/media/i2c/ov2735.c b/kernel/drivers/media/i2c/ov2735.c index c91fe0c..0eae7fa 100644 --- a/kernel/drivers/media/i2c/ov2735.c +++ b/kernel/drivers/media/i2c/ov2735.c @@ -836,9 +836,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; fie->interval = supported_modes[fie->index].max_fps; -- Gitblit v1.6.2