diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2018-10-04 22:12:06 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-11-20 19:53:57 +0100 |
commit | f72b9d8cfcd60f76146ac5ec31b0284fab0071b5 (patch) | |
tree | 2089e766ae59040b308f9458bd44b324327eba00 /drivers/media/usb/em28xx | |
parent | media: exynos4-is: convert g/s_crop to g/s_selection (diff) | |
download | linux-f72b9d8cfcd60f76146ac5ec31b0284fab0071b5.tar.xz linux-f72b9d8cfcd60f76146ac5ec31b0284fab0071b5.zip |
media: s5p-g2d: convert g/s_crop to g/s_selection
Replace g/s_crop by g/s_selection and set the V4L2_FL_QUIRK_INVERTED_CROP
flag since this is one of the old drivers that predates the selection
API. Those old drivers allowed g_crop when it really shouldn't have since
g_crop returns a compose rectangle instead of a crop rectangle for the
CAPTURE stream, and vice versa for the OUTPUT stream.
Also drop the now unused vidioc_cropcap.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/em28xx')
0 files changed, 0 insertions, 0 deletions