[media] v4l: Check pad number in get try pointer functions
authorSakari Ailus <sakari.ailus@iki.fi>
Thu, 16 Feb 2012 01:57:22 +0000 (22:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Apr 2012 18:01:49 +0000 (15:01 -0300)
commit5e6ff7c17bf468b8bc012e49174771e5f718e72c
treeb75a7c592122a606bc4a9e74fbea1dc9b5148031
parentc5a766ceb497078459115fcbd1412917083aa4a5
[media] v4l: Check pad number in get try pointer functions

Unify functions to get try pointers and validate the pad number accessed by
the user.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-subdev.h