summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/imx219.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-09-24 17:32:51 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-10-07 10:55:46 +0200
commit3e40c8db9ec55adcc844de63f2d1120f9a173e6a (patch)
treee5177b45b26cf5b83876aaf632eaf020c008e266 /drivers/media/i2c/imx219.c
parentmedia: i2c: imx219: Convert to CCI register access helpers (diff)
downloadlinux-3e40c8db9ec55adcc844de63f2d1120f9a173e6a.tar.xz
linux-3e40c8db9ec55adcc844de63f2d1120f9a173e6a.zip
media: i2c: imx219: Drop unused macros
Drop a handful of macros that are not used and don't provide any value. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/imx219.c')
-rw-r--r--drivers/media/i2c/imx219.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c
index 9d84f09bcced..a9f929fc58b0 100644
--- a/drivers/media/i2c/imx219.c
+++ b/drivers/media/i2c/imx219.c
@@ -72,12 +72,6 @@
#define IMX219_VBLANK_MIN 4
-/*Frame Length Line*/
-#define IMX219_FLL_MIN 0x08a6
-#define IMX219_FLL_MAX 0xffff
-#define IMX219_FLL_STEP 1
-#define IMX219_FLL_DEFAULT 0x0c98
-
/* HBLANK control - read only */
#define IMX219_PPL_DEFAULT 3448
@@ -105,10 +99,6 @@
#define IMX219_TESTP_COLOUR_MIN 0
#define IMX219_TESTP_COLOUR_MAX 0x03ff
#define IMX219_TESTP_COLOUR_STEP 1
-#define IMX219_TESTP_RED_DEFAULT IMX219_TESTP_COLOUR_MAX
-#define IMX219_TESTP_GREENR_DEFAULT 0
-#define IMX219_TESTP_BLUE_DEFAULT 0
-#define IMX219_TESTP_GREENB_DEFAULT 0
/* External clock frequency is 24.0M */
#define IMX219_XCLK_FREQ 24000000