mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
media: imx219: Fix maximum frame length in lines
The driver used the maximum frame length in lines value of 0xffff, but the
maximum appears to be 0xfffe instead. Fix it.
Fixes: 1283b3b8f8 ("media: i2c: Add driver for Sony IMX219 sensor")
Cc: stable@vger.kernel.org
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
|
||||
/* V_TIMING internal */
|
||||
#define IMX219_REG_FRM_LENGTH_A CCI_REG16(0x0160)
|
||||
#define IMX219_FLL_MAX 0xffff
|
||||
#define IMX219_FLL_MAX 0xfffe
|
||||
#define IMX219_VBLANK_MIN 32
|
||||
#define IMX219_REG_LINE_LENGTH_A CCI_REG16(0x0162)
|
||||
#define IMX219_LLP_MIN 0x0d78
|
||||
|
||||
Reference in New Issue
Block a user