mirror of https://gitee.com/openkylin/linux.git
[media] m5mols: Fix capture image size register definition
The main capture and the thumbnail image size registers were erroneously defined to have 1 byte width, resulting in wrong reported image size. Fix this by changing the registers width to correct value. Reported-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: HeungJun, Kim <riverful.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
3a3f94497a
commit
bbe66edc60
|
@ -382,8 +382,8 @@
|
|||
#define REG_CAP_START_MAIN 0x01
|
||||
#define REG_CAP_START_THUMB 0x03
|
||||
|
||||
#define CAPC_IMAGE_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_IMAGE_SIZE, 1)
|
||||
#define CAPC_THUMB_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_THUMB_SIZE, 1)
|
||||
#define CAPC_IMAGE_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_IMAGE_SIZE, 4)
|
||||
#define CAPC_THUMB_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_THUMB_SIZE, 4)
|
||||
|
||||
/*
|
||||
* Category F - Flash
|
||||
|
|
Loading…
Reference in New Issue