V4L/DVB (10098): ov772x: fix try_fmt calculation method
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Mon, 29 Dec 2008 09:04:44 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:30 +0000 (09:40 -0200)
commitf82a8569bfa10f32a3123ca0b681ec7c3188d2c0
tree48b4ec93dc8e65b63e7defafeaf3b6ecf49abee1
parent77fe3d4a44f76653263eb8671d7909ab0fdafd71
V4L/DVB (10098): ov772x: fix try_fmt calculation method

Don't modify driver's state in try_fmt, just verify format acceptability
or adjust it to driver's capabilities.

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ov772x.c