From: Kartik Mohta Date: Wed, 2 May 2012 22:19:08 +0000 (-0300) Subject: [media] mt9v032: Correct the logic for the auto-exposure setting X-Git-Tag: v3.5-rc1~104^2~219 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c37598142621ca8aadfd115d8e5f51c5337f8d5;p=pandora-kernel.git [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 Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed