]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: rcar_vin: Reject videobufs that are too small for current format
authorRob Taylor <rob.taylor@codethink.co.uk>
Thu, 23 Jul 2015 12:21:43 +0000 (09:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 16 Aug 2015 16:28:24 +0000 (13:28 -0300)
commitc01f97fd300a9cb7561292c739fbc2a02df80514
treeeada541bbef5026249ca5e706b9a2d914fc07ef5
parentf9de1e5c83ea546eda7dd18970b97b0b43ab1caa
[media] media: rcar_vin: Reject videobufs that are too small for current format

In videobuf_setup reject buffers that are too small for the configured
format. Fixes v4l2-compliance issue.

Signed-off-by: Rob Taylor <rob.taylor@codethink.co.uk>
Reviewed-by: William Towle <william.towle@codethink.co.uk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c