summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorKartik Mohta2012-05-03 00:19:08 +0200
committerMauro Carvalho Chehab2012-05-14 18:39:02 +0200
commit5c37598142621ca8aadfd115d8e5f51c5337f8d5 (patch)
tree0f67d5ca8189ae4ae12da0af42c9ca2166f6379b /include/media
parent[media] mt9m032: use the available subdev pointer, don't re-calculate it (diff)
downloadkernel-qcow2-linux-5c37598142621ca8aadfd115d8e5f51c5337f8d5.tar.gz
kernel-qcow2-linux-5c37598142621ca8aadfd115d8e5f51c5337f8d5.tar.xz
kernel-qcow2-linux-5c37598142621ca8aadfd115d8e5f51c5337f8d5.zip
[media] mt9v032: Correct the logic for the auto-exposure setting
The driver uses the ctrl value passed in as a bool to determine whether to enable auto-exposure, but the auto-exposure setting is defined as an enum where AUTO has a value of 0 and MANUAL has a value of 1. This leads to a reversed logic where if you send in AUTO, it actually sets manual exposure and vice-versa. Signed-off-by: Kartik Mohta <kartikmohta@gmail.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions