OSDN Git Service

[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)
commit4284118058b2b4f217a050908a555d0e1ed58641
treeeada541bbef5026249ca5e706b9a2d914fc07ef5
parent734f3f238587ffb6938700c4495dd5b5a54c4125
[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