[media] V4L: sh_mobile_ceu_camera: don't fail TRY_FMT
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 9 May 2012 21:12:28 +0000 (18:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 19:14:42 +0000 (16:14 -0300)
commitfec0f72f5f7bceb75234417999a149abe24da347
tree16d81c52031c7b14c49a29b1ac93640a86b25134
parent9633c0867fb5fc1eef8bd3c4e7f413034d2c5367
[media] V4L: sh_mobile_ceu_camera: don't fail TRY_FMT

VIDIOC_TRY_FMT shouldn't fail if the user requests an unsupported pixel
format. Instead the driver should replace it with a supported one. Fix the
sh_mobile_ceu_camera driver accordingly.

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