v4l: Check pad number in get try pointer functions
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 6 Mar 2012 16:32:47 +0000 (18:32 +0200)
committerSergio Aguirre <sergio.a.aguirre@gmail.com>
Fri, 8 Jun 2012 23:02:36 +0000 (18:02 -0500)
commit685acc4767cde1ed7161d10e9f0b502bfa693226
treee75e76c03359cdb898da67c3606b8ef3ae3ac189
parentf9cd12fbf09ec336787b7559094fce14e999562a
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>
include/media/v4l2-subdev.h