v4l: Support s_crop and g_crop through s/g_selection
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 6 Mar 2012 16:32:48 +0000 (18:32 +0200)
committerSergio Aguirre <sergio.a.aguirre@gmail.com>
Fri, 8 Jun 2012 23:02:36 +0000 (18:02 -0500)
commit5d850edf9f29c11d537351de9d51b5a91ce12f1f
tree8e7f4446039ea9bd8d76c10be84cef52653f438e
parent685acc4767cde1ed7161d10e9f0b502bfa693226
v4l: Support s_crop and g_crop through s/g_selection

Fall back to s_selection if s_crop isn't implemented by a driver. Same for
g_selection / g_crop.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/media/video/v4l2-subdev.c