From: Laurent Pinchart Date: Fri, 6 Mar 2015 12:54:47 +0000 (-0300) Subject: [media] uvcvideo: Validate index during step-wise frame intervals enumeration X-Git-Tag: omap-for-v4.1/fixes-rc1~72^2~1^2~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cdf60c97a9e7bc1829cca2e52d61be75f02c13c;p=pandora-kernel.git [media] uvcvideo: Validate index during step-wise frame intervals enumeration Frame intervals exposed as an interval and step (so-called step-wise) are restricted by the V4L2 API to a single enumeration entry. Return an error when the index is not zero. Reported-by: Alexey Smirnoff Signed-off-by: Laurent Pinchart [mchehab@osg.samsung.com: add a missing collon at the end of the return statement, in order to avoid compilation breakage] Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed