[media] ov772x: try_fmt must not default to the current format
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 18 Jul 2012 13:58:21 +0000 (10:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 20:10:18 +0000 (17:10 -0300)
commit9f717e9022d60fb653bad47a320bf0499c6fb549
tree3c1e0f724f6494bf105f6b96ebf3ca66f244ffd5
parent69c80dc90146463bf9a6820e5c0432fad8e0d0c1
[media] ov772x: try_fmt must not default to the current format

If the requested format isn't supported, return a fixed default format
instead of the current format.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/soc_camera/ov772x.c