]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] ov7670: check for valid width/height in ov7670_enum_frame_interval
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 5 Mar 2015 08:15:30 +0000 (05:15 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 10:40:37 +0000 (07:40 -0300)
commitb8cc79fd83b09fb3137fe3721bc4e161cec54ead
tree44145c41524212204b32b1846bea6eb8cf718a96
parent5a878f97fd8487b24f1328b75cfda069dc28f99b
[media] ov7670: check for valid width/height in ov7670_enum_frame_interval

The width and height should be checked in the enum_frame_interval
op. This fixes a v4l2-compliance failure.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/ov7670.c