diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-07-24 11:12:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 18:23:33 -0400 |
commit | 6126b912c84240692e26c1b820a7097610eddf34 (patch) | |
tree | 768ab32826b9582db08357ab474e5a2f3d3cb9ce /drivers/media | |
parent | 31ce54f6aeb70ecf1b8e758236955dfad1b1e398 (diff) |
[media] m5mols: Correct reported ISO values
The V4L2_CID_ISO_SENSITIVITY control menu values should be
standard ISO values multiplied by 1000. Multiply all menu
items by 1000 so ISO is properly reported as 50...3200 range.
This applies to kernels 3.5+.
Cc: stable@vger.kernel.org
Signed-off-by: Sylwester Nawrocki <s.nawrocki@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_controls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/m5mols/m5mols_controls.c b/drivers/media/video/m5mols/m5mols_controls.c index 392a028730e2..fdbc205a2969 100644 --- a/drivers/media/video/m5mols/m5mols_controls.c +++ b/drivers/media/video/m5mols/m5mols_controls.c | |||
@@ -527,8 +527,8 @@ static const struct v4l2_ctrl_ops m5mols_ctrl_ops = { | |||
527 | 527 | ||
528 | /* Supported manual ISO values */ | 528 | /* Supported manual ISO values */ |
529 | static const s64 iso_qmenu[] = { | 529 | static const s64 iso_qmenu[] = { |
530 | /* AE_ISO: 0x01...0x07 */ | 530 | /* AE_ISO: 0x01...0x07 (ISO: 50...3200) */ |
531 | 50, 100, 200, 400, 800, 1600, 3200 | 531 | 50000, 100000, 200000, 400000, 800000, 1600000, 3200000 |
532 | }; | 532 | }; |
533 | 533 | ||
534 | /* Supported Exposure Bias values, -2.0EV...+2.0EV */ | 534 | /* Supported Exposure Bias values, -2.0EV...+2.0EV */ |