mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
media: imx477: Remove duplicated writes to line_length_pix
Register line_length_pix was being written by both the tables of registers and the control handler for V4L2_CID_HBLANK. Remove the duplication in the tables. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Phil Elwell
parent
905d3e0276
commit
abde33e3ac
@@ -574,8 +574,6 @@ static const struct imx477_reg mode_common_regs[] = {
|
||||
|
||||
/* 12 mpix 10fps */
|
||||
static const struct imx477_reg mode_4056x3040_regs[] = {
|
||||
{0x0342, 0x5d},
|
||||
{0x0343, 0xc0},
|
||||
{0x0344, 0x00},
|
||||
{0x0345, 0x00},
|
||||
{0x0346, 0x00},
|
||||
@@ -684,8 +682,6 @@ static const struct imx477_reg mode_4056x3040_regs[] = {
|
||||
|
||||
/* 2x2 binned. 40fps */
|
||||
static const struct imx477_reg mode_2028x1520_regs[] = {
|
||||
{0x0342, 0x31},
|
||||
{0x0343, 0xc4},
|
||||
{0x0344, 0x00},
|
||||
{0x0345, 0x00},
|
||||
{0x0346, 0x00},
|
||||
@@ -783,8 +779,6 @@ static const struct imx477_reg mode_2028x1520_regs[] = {
|
||||
|
||||
/* 1080p cropped mode */
|
||||
static const struct imx477_reg mode_2028x1080_regs[] = {
|
||||
{0x0342, 0x31},
|
||||
{0x0343, 0xc4},
|
||||
{0x0344, 0x00},
|
||||
{0x0345, 0x00},
|
||||
{0x0346, 0x01},
|
||||
@@ -897,8 +891,6 @@ static const struct imx477_reg mode_1332x990_regs[] = {
|
||||
{0x0112, 0x0a},
|
||||
{0x0113, 0x0a},
|
||||
{0x0114, 0x01},
|
||||
{0x0342, 0x1a},
|
||||
{0x0343, 0x08},
|
||||
{0x0340, 0x04},
|
||||
{0x0341, 0x1a},
|
||||
{0x0344, 0x00},
|
||||
|
||||
Reference in New Issue
Block a user