aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-dev.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-10-04 15:37:10 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-20 13:53:20 -0500
commit158efdeebc4871aebd4d99ee009a350515e9d509 (patch)
tree44d0cb2cf4531fe5669ae27c6c61c041b9621e69 /drivers/media/v4l2-core/v4l2-dev.c
parentmedia: s5p_mfc_dec.c: convert g_crop to g_selection (diff)
downloadlinux-158efdeebc4871aebd4d99ee009a350515e9d509.tar.gz
linux-158efdeebc4871aebd4d99ee009a350515e9d509.zip
media: exynos4-is: 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> Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-dev.c')
0 files changed, 0 insertions, 0 deletions