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)
commit70e1d353e5d70551c5f69d464c4d194afae62f63
tree454eb518304ab884cf35e249758fcf436d4289b5
parentc8329accf7e75a8a8fbe4ad0a15a3eacf221f380
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