]> git.baikalelectronics.ru Git - kernel.git/commit
media: vimc: cap: fix step width/height in enum framesize
authorHelen Fornazier <helen.koike@collabora.com>
Wed, 6 Mar 2019 22:42:39 +0000 (17:42 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 19 Mar 2019 19:28:26 +0000 (15:28 -0400)
commit45b2f54ff7c3cc275732a9c95e1a5ee0c2f9607b
tree239a5a6033905bf4e4a3b1ae6e955042a7cd1c64
parent02e0d19a464767d3d8a13d6f642ad9b5a440c10b
media: vimc: cap: fix step width/height in enum framesize

The type V4L2_FRMSIZE_TYPE_CONTINUOUS expects a step of 1.
This fixes v4l2-compliance test error:

        fail: v4l2-test-formats.cpp(184): invalid step_width/height for continuous framesize
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vimc/vimc-capture.c