]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] V4L: mx2_camera: .try_fmt shouldn't fail
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Sat, 4 Jun 2011 18:06:47 +0000 (15:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 22:39:31 +0000 (19:39 -0300)
commit3545f920de7fe60cd1e3dd5aca8d25611bda8268
treee760832f9dc9e0846c8cf000b0ff9d76aa27cd73
parentc403892e9ff843fc18c8cb2a455fa5901692a24f
[media] V4L: mx2_camera: .try_fmt shouldn't fail

If the user is requesting too large a frame, instead of failing
select an acceptable geometry, preserving the requested aspect ratio.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx2_camera.c