]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00237706: mxc_v4l2_capture: ov5640: correct the behavior of ENUM_FMT
authorSheng Nan <b38800@freescale.com>
Wed, 19 Dec 2012 09:27:42 +0000 (17:27 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:50 +0000 (08:35 +0200)
commitc91ff453e282d91b2cf7acf349e84714f27b4990
tree2ee2178552ea9b5d860f7aaab6c94e02d08472dd
parent4f358386572ef1a8992f4ba19b13a969e35120e3
ENGR00237706: mxc_v4l2_capture: ov5640: correct the behavior of ENUM_FMT

ov5640 ioctl_enum_fmt_cap only returns value of index = 0;
before support other formats, correct the behavior of this ioctl.

- ENUM_FMT returns all the supported format.

Signed-off-by: Sheng Nan <b38800@freescale.com>
drivers/media/video/mxc/capture/ov5640.c