[media] v4l: Support s_crop and g_crop through s/g_selection
authorSakari Ailus <sakari.ailus@iki.fi>
Mon, 14 Nov 2011 18:30:24 +0000 (15:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Apr 2012 18:02:26 +0000 (15:02 -0300)
commit5b9d770fa3f5cf210b31137404ae702a33e00473
treec79c49be9318f88cdecb0b147d70a89f9b3c6163
parent5e6ff7c17bf468b8bc012e49174771e5f718e72c
[media] 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-subdev.c