hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/mt9t112.c
....@@ -541,7 +541,7 @@
541541 mt9t112_mcu_write(ret, client, VAR(18, 109), 0x0AF0);
542542
543543 /*
544
- * Flicker Dectection registers.
544
+ * Flicker Detection registers.
545545 * This section should be replaced whenever new timing file is
546546 * generated. All the following registers need to be replaced.
547547 * Following registers are generated from Register Wizard but user can
....@@ -887,12 +887,6 @@
887887 sel->r.top = 0;
888888 sel->r.width = MAX_WIDTH;
889889 sel->r.height = MAX_HEIGHT;
890
- return 0;
891
- case V4L2_SEL_TGT_CROP_DEFAULT:
892
- sel->r.left = 0;
893
- sel->r.top = 0;
894
- sel->r.width = VGA_WIDTH;
895
- sel->r.height = VGA_HEIGHT;
896890 return 0;
897891 case V4L2_SEL_TGT_CROP:
898892 sel->r = priv->frame;