]> git.karo-electronics.de Git - linux-beck.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>
Wed, 27 Jul 2011 20:53:22 +0000 (17:53 -0300)
commit28281a71eb3bc08a0fb9514886e7d6e868f71b3f
tree7c17c295b3bba4693eb44c80315945b26823d9f4
parent497833c6813dde5ca27cc94e28c973d601d601e1
[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