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/mt9t112.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/kernel/drivers/media/i2c/mt9t112.c b/kernel/drivers/media/i2c/mt9t112.c index af8cca9..ae3c336 100644 --- a/kernel/drivers/media/i2c/mt9t112.c +++ b/kernel/drivers/media/i2c/mt9t112.c @@ -541,7 +541,7 @@ mt9t112_mcu_write(ret, client, VAR(18, 109), 0x0AF0); /* - * Flicker Dectection registers. + * Flicker Detection registers. * This section should be replaced whenever new timing file is * generated. All the following registers need to be replaced. * Following registers are generated from Register Wizard but user can @@ -887,12 +887,6 @@ sel->r.top = 0; sel->r.width = MAX_WIDTH; sel->r.height = MAX_HEIGHT; - return 0; - case V4L2_SEL_TGT_CROP_DEFAULT: - sel->r.left = 0; - sel->r.top = 0; - sel->r.width = VGA_WIDTH; - sel->r.height = VGA_HEIGHT; return 0; case V4L2_SEL_TGT_CROP: sel->r = priv->frame; -- Gitblit v1.6.2