[media] media: ov7670: Allow 32x maximum gain for yuv422
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 30 Oct 2012 15:04:23 +0000 (12:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 20:25:09 +0000 (18:25 -0200)
commitc01b7429e2b713a3d039cd2b1a94dc1b97cdf321
treee04fce3474de87bd0972cfb651bedb498a71ca81
parent202724096816ebf5c6557719f6a2d6faf6371f9a
[media] media: ov7670: Allow 32x maximum gain for yuv422

4x gain ceiling is not enough to capture a decent image in conditions
of total darkness and only a LED light source. Allow a maximum gain
of 32x instead.
This doesn't have any drawback since the image quality in 'normal'
light conditions is the same.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/ov7670.c