diff options
author | HeungJun, Kim <riverful.kim@samsung.com> | 2011-05-31 02:27:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-11 09:45:47 -0300 |
commit | bbe66edc607425acc47d7ad69ba7ad7193ec05b4 (patch) | |
tree | f1085bf1272de6cad4ba4953fe71d591bf557bbe /drivers/media | |
parent | 3a3f94497aa236d9a4f47f0f4f8dc84e531ffa22 (diff) | |
download | kernel_samsung_crespo-bbe66edc607425acc47d7ad69ba7ad7193ec05b4.zip kernel_samsung_crespo-bbe66edc607425acc47d7ad69ba7ad7193ec05b4.tar.gz kernel_samsung_crespo-bbe66edc607425acc47d7ad69ba7ad7193ec05b4.tar.bz2 |
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/m5mols/m5mols_reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/m5mols/m5mols_reg.h b/drivers/media/video/m5mols/m5mols_reg.h index b83e36f..8260f50 100644 --- a/drivers/media/video/m5mols/m5mols_reg.h +++ b/drivers/media/video/m5mols/m5mols_reg.h @@ -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 |