]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit86cbaf7099efe6c732952b69cad6f36df6fbee49
treec79c49be9318f88cdecb0b147d70a89f9b3c6163
parent16279d968b5a2f0f64e063f53631e148464e62d7
[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