]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (10673): mt9t031: fix gain and hflip controls, register update, and scaling
authorGuennadi Liakhovetski <lg@denx.de>
Mon, 23 Feb 2009 15:13:23 +0000 (12:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:53 +0000 (12:42 -0300)
commit5c34c4b8c2e7419bed8653363812549c8ad90e57
tree454eb518304ab884cf35e249758fcf436d4289b5
parent6804f5101477c7466c9ada5fcb1e16081d1bcd52
V4L/DVB (10673): mt9t031: fix gain and hflip controls, register update, and scaling

Multiple fixes:
1. allow register update by setting the Output Control register to 2 and not 3
2. fix scaling factor calculations
3. recover lost HFLIP control
4. fix Global Gain calculation

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9t031.c