-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
Describe the bug
Register declaration #define IMX477_REG_TEST_PATTERN CCI_REG8(0x0600) is for 8 bit register, but test pattern register is 16bit (same as imx219).
Correct declaration in https://github.com/raspberrypi/linux/blob/rpi-6.12.y/drivers/media/i2c/imx477.c line 117 should be:
#define IMX477_REG_TEST_PATTERN CCI_REG16(0x0600)
Steps to reproduce the behaviour
Setting test pattern does not work because it modifies only bit[0] of register 0x0600.
After modifying the declaration of IMX477_REG_TEST_PATTERN to 16 bit the test pattern settings works OK.
Device (s)
Other
System
It is a generic imx477 Linux driver issue.
Logs
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels