Skip to content

Commit 49c5481

Browse files
Alain Volmatdkalowsk
authored andcommitted
video: gc2145: avoid odd even row switch by default
This bit would be used in order to generate several variants of Bayer formats, however it shouldn't be enabled for YUV/RGB formats by default. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 8e8d721 commit 49c5481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/gc2145.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LOG_MODULE_REGISTER(video_gc2145, CONFIG_VIDEO_LOG_LEVEL);
2828
#define GC2145_REG_OUTPUT_FMT_RGB565 0x06
2929
#define GC2145_REG_OUTPUT_FMT_YCBYCR 0x02
3030
#define GC2145_REG_SYNC_MODE 0x86
31-
#define GC2145_REG_SYNC_MODE_DEF 0x23
31+
#define GC2145_REG_SYNC_MODE_DEF 0x03
3232
#define GC2145_REG_SYNC_MODE_COL_SWITCH 0x10
3333
#define GC2145_REG_SYNC_MODE_ROW_SWITCH 0x20
3434
#define GC2145_REG_RESET 0xFE

0 commit comments

Comments
 (0)