media: cropcap/g_selection split
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 4 Oct 2018 21:06:32 +0000 (17:06 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 20 Nov 2018 18:37:18 +0000 (13:37 -0500)
commitee10dc36b485920e87eefa325d74fd8804648621
treeaff59557bb6ab1dee797943e7248d362bd429541
parent98af278b1e0fa6b7e6c762e185e99f0cc5e31cfe
media: cropcap/g_selection split

If g_selection is implemented, then the v4l2-ioctl cropcap code assumes
that cropcap just implements the pixelaspect part and that g_selection
provides the crop bounds and default rectangles.

There are still some drivers that only implement cropcap and not
g_selection. Split up cropcap into a cropcap and g_selection for those
drivers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/cobalt/cobalt-v4l2.c
drivers/media/pci/cx23885/cx23885-video.c
drivers/media/platform/am437x/am437x-vpfe.c
drivers/media/usb/au0828/au0828-video.c
drivers/media/usb/cpia2/cpia2_v4l.c
drivers/media/usb/cx231xx/cx231xx-417.c
drivers/media/usb/cx231xx/cx231xx-video.c