mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
media: i2c: vd55g1: Fix duster register address
The duster register needs to be disabled on test patterns. While the
code is correctly doing so, the register address contained a typo, thus
not disabling the duster correctly. Fix the typo.
Fixes: e56616d7b2 ("media: i2c: Add driver for ST VD55G1 camera sensor")
Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
01a80b6649
commit
ba4b8886c2
|
|
@ -66,7 +66,7 @@
|
|||
#define VD55G1_REG_READOUT_CTRL CCI_REG8(0x052e)
|
||||
#define VD55G1_READOUT_CTRL_BIN_MODE_NORMAL 0
|
||||
#define VD55G1_READOUT_CTRL_BIN_MODE_DIGITAL_X2 1
|
||||
#define VD55G1_REG_DUSTER_CTRL CCI_REG8(0x03ea)
|
||||
#define VD55G1_REG_DUSTER_CTRL CCI_REG8(0x03ae)
|
||||
#define VD55G1_DUSTER_ENABLE BIT(0)
|
||||
#define VD55G1_DUSTER_DISABLE 0
|
||||
#define VD55G1_DUSTER_DYN_ENABLE BIT(1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user