WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 575595f

Browse files
6by9pelwell
authored andcommitted
media: i2c: imx477: Correct IMX477_REG_TEST_PATTERN to be 16bit
Corrects typo that set that register to only be 8 bit. Fixes: 7736218 ("media: imx477: Convert to use V4L2_CCI library") Signed-off-by: Dave Stevenson <[email protected]>
1 parent d3f5e95 commit 575595f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/i2c/imx477.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ MODULE_PARM_DESC(fstrobe_delay, "Set fstrobe delay from end all lines starting t
114114
#define IMX477_REG_IOP_MPY CCI_REG16(0x030e)
115115

116116
/* Test Pattern Control */
117-
#define IMX477_REG_TEST_PATTERN CCI_REG8(0x0600)
117+
#define IMX477_REG_TEST_PATTERN CCI_REG16(0x0600)
118118
#define IMX477_TEST_PATTERN_DISABLE 0
119119
#define IMX477_TEST_PATTERN_SOLID_COLOR 1
120120
#define IMX477_TEST_PATTERN_COLOR_BARS 2

0 commit comments

Comments
 (0)