diff options
author | Pawe? Chmiel <pawel.mikolaj.chmiel@gmail.com> | 2019-01-09 13:00:41 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-07-09 22:03:47 +0100 |
commit | 62af7ce748a11b81a16dc941ec4caa2d5077dba2 (patch) | |
tree | d02004849f9c6e742b64d231102dbb071efb91cd /mm | |
parent | f866b661a5be1d0f938a50bc08aae4c524b9231f (diff) | |
download | linux-stable-62af7ce748a11b81a16dc941ec4caa2d5077dba2.tar.gz linux-stable-62af7ce748a11b81a16dc941ec4caa2d5077dba2.tar.bz2 linux-stable-62af7ce748a11b81a16dc941ec4caa2d5077dba2.zip |
media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL
commit 19c624c6b29e244c418f8b44a711cbf5e82e3cd4 upstream.
This commit corrects max and step values for v4l2 control for
V4L2_CID_JPEG_RESTART_INTERVAL. Max should be 0xffff and step should be 1.
It was found by using v4l2-compliance tool and checking result of
VIDIOC_QUERY_EXT_CTRL/QUERYMENU test.
Previously it was complaining that step was bigger than difference
between max and min.
Fixes: 15f4bc3b1f42 ("[media] s5p-jpeg: Add JPEG controls support")
Signed-off-by: Pawe? Chmiel <pawel.mikolaj.chmiel@gmail.com>
Reviewed-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions